added gzip toolchain build

This commit is contained in:
ag-tsotetsi
2026-02-20 12:45:01 +02:00
parent 8e29b5c397
commit 1944aae285

View File

@@ -74,6 +74,9 @@ GAWK_URL=https://mirror.ufs.ac.za/gnu/gawk/gawk-$GAWK_VERSION.tar.xz
GREP_VERSION=3.12 GREP_VERSION=3.12
GREP_URL=https://mirror.ufs.ac.za/gnu/grep/grep-$GREP_VERSION.tar.xz GREP_URL=https://mirror.ufs.ac.za/gnu/grep/grep-$GREP_VERSION.tar.xz
GZIP_VERSION=1.14
GZIP_URL=https://mirror.ufs.ac.za/gnu/gzip/gzip-$GZIP_VERSION.tar.xz
MAKE_VERSION=4.4.1 MAKE_VERSION=4.4.1
MAKE_URL=https://mirror.ufs.ac.za/gnu/make/make-$MAKE_VERSION.tar.gz MAKE_URL=https://mirror.ufs.ac.za/gnu/make/make-$MAKE_VERSION.tar.gz
@@ -411,6 +414,20 @@ toolchain_grep() {
cd "$SOURCES" && rm -rf grep-$GREP_VERSION cd "$SOURCES" && rm -rf grep-$GREP_VERSION
} }
toolchain_gzip() {
fetch $GZIP_URL
cd "$SOURCES" && tar xf gzip-$GZIP_VERSION.tar.xz && cd gzip-$GZIP_VERSION
./configure \
--prefix=/usr \
--host=$TARGET
make && make DESTDIR="$SYSROOT" install
cd "$SOURCES" && rm -rf gzip-$GZIP_VERSION
}
toolchain_make() { toolchain_make() {
fetch $MAKE_URL fetch $MAKE_URL
@@ -440,4 +457,5 @@ toolchain_make() {
#toolchain_findutils #toolchain_findutils
#toolchain_gawk #toolchain_gawk
#toolchain_grep #toolchain_grep
toolchain_make toolchain_gzip
#toolchain_make