1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-09-20 19:59:48 +02:00
build/pkg/tc-pkgtool/build
David Oberhollenzer 0ef38e31ee cleanup: new pkg tool can be built with default root/repodir
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-06-10 17:03:06 +02:00

30 lines
560 B
Text
Executable file

VERSION="0.4.1"
SRCDIR="pkgtool-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://infraroot.at/pygos"
SHA256SUM="78580ab27baafc41faa69c959d8d39de6cb6299e8133a7655accfef15d423a5b"
DEPENDS=""
prepare() {
return
}
build() {
$1/configure --prefix="$TCDIR" --disable-static \
--build="$HOSTTUPLE" --host="$HOSTTUPLE" \
--with-repo-dir="$REPODIR" \
--with-install-root="$TCDIR/$TARGET"
make -j $NUMJOBS
}
deploy() {
make install
touch "$PKGDEPLOYDIR/$PKGNAME.files"
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
}
check_update() {
return
}