lfs-buildscripts/CH8Build/CH08.63-gzip.sh
YellowJacketLinux 907484e0ca more packages
2024-10-06 10:55:01 -07:00

30 lines
481 B
Bash

#!/bin/bash
source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d gzip-${gzip_version} ] && rm -rf gzip-${gzip_version}
tar -Jxf ${gzip_tarball}
cd gzip-${gzip_version}
./configure --prefix=/usr
make
if [ $? -ne 0 ]; then
myfail "Failed building gzip"
fi
echo "running gzip make check"
make check > ${GLSOURCES}/gzip.check 2>&1
make install
if [ $? -ne 0 ]; then
myfail "Failed installing gzip"
fi