Files
axe-os/build/gzip/build.bash
2026-02-08 11:58:20 +02:00

43 lines
496 B
Bash

. "$PROJECTDIR/build/gzip/package.env"
fetch $GZIP_URL
cd "$SOURCES" && tar xf gzip-$GZIP_VERSION.tar.xz && cd gzip-$GZIP_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/gzip-$GZIP_VERSION"