lfs-scripts/scripts/chapter8/8.61-gzip.sh
2023-01-12 19:05:19 +05:30

26 lines
223 B
Bash

#!/bin/bash
cd /sources
tar xf gzip-1.12.tar.xz
cd gzip-1.12
./configure --prefix=/usr
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf gzip-1.12