diff --git a/build.sh b/build.sh index bcc5f1f..0f2cec5 100755 --- a/build.sh +++ b/build.sh @@ -74,6 +74,9 @@ GAWK_URL=https://mirror.ufs.ac.za/gnu/gawk/gawk-$GAWK_VERSION.tar.xz GREP_VERSION=3.12 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_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 } +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() { fetch $MAKE_URL @@ -440,4 +457,5 @@ toolchain_make() { #toolchain_findutils #toolchain_gawk #toolchain_grep -toolchain_make \ No newline at end of file +toolchain_gzip +#toolchain_make \ No newline at end of file