1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 19:47:09 +01:00
build/pkg/tc-file/build
David Oberhollenzer c8d01f966a Use pkgtool to resolve and manage dependencies, add sub package support
Been working on this for too long, don't remember the specifics, will add
documentation.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00

23 lines
335 B
Text
Executable file

source "$SCRIPTDIR/pkg/file/build"
DEPENDS="tc-pkgtool"
SUBPKG="tc-file"
prepare() {
return
}
build() {
$1/configure --prefix="$TCDIR" --disable-static \
--build="$HOSTTUPLE" --host="$HOSTTUPLE"
make -j $NUMJOBS
}
deploy() {
make install
touch "$2/$PKGNAME.files"
cat > "$2/$PKGNAME.desc" <<_EOF
name $PKGNAME
_EOF
}