1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-24 20:10:42 +01:00
build/pkg/tc-squashfs/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

24 lines
521 B
Text
Executable file

VERSION="0.6.1"
SRCDIR="squashfs-tools-ng-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://infraroot.at/pub/squashfs"
SHA256SUM="aba8eccd4c0735ef7019d84a94166a866f11054fc713c4ba0fb919f1569dd7e6"
DEPENDS=""
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"
}
check_update() {
check_update_simple "$URL" "squashfs-tools-ng" "tar.xz"
}