mirror of
https://github.com/pygos/build.git
synced 2024-11-14 23:47:11 +01:00
David Oberhollenzer
fa4eff263b
This commit adds an "emptypackage" template that implements defaults for all package functions and is included before every package. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
17 lines
308 B
Text
Executable file
17 lines
308 B
Text
Executable file
source "$SCRIPTDIR/pkg/file/build"
|
|
DEPENDS="tc-pkgtool"
|
|
SUBPKG="tc-file"
|
|
|
|
build() {
|
|
$1/configure --prefix="$TCDIR" --disable-static \
|
|
--build="$HOSTTUPLE" --host="$HOSTTUPLE"
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
make install
|
|
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
|
}
|