11 lines
365 B
Text
Executable file
11 lines
365 B
Text
Executable file
wget https://zlib.net/pigz/pigz-2.6.tar.gz
|
|
tar -xf pigz-2.6.tar.gz
|
|
cd pigz-2.6
|
|
make CC="${CC:-cc} -static"
|
|
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
|
|
cp -f pigz unpigz "$1/usr/bin"
|
|
cp -f pigz.1 "$1/usr/share/man/man1"
|
|
ln -sf pigz "$1/usr/bin/gzip"
|
|
ln -sf pigz "$1/usr/bin/zcat"
|
|
ln -sf unpigz "$1/usr/bin/gunzip"
|
|
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"
|