1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-14 23:47:11 +01:00
build/pkg/tc-pkgtool/build
David Oberhollenzer 1a697b336f Fix sysroot directory
Use a seperate sysroot directory (stored in variable SYSROOT)
instead of installing everything into the toolchain directory.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-07 03:28:21 +02:00

30 lines
554 B
Text
Executable file

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