1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-07 22:36:14 +02:00
build/pkg/tc-file/build
David Oberhollenzer fa4eff263b Cleanup: implement defaults for package functions
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>
2020-04-16 15:16:58 +02:00

18 lines
308 B
Plaintext
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"
}