1 2 3 4 5 6 7 8 9
#!/bin/sh -e make CC="${CC:-cc} -static" clinst -Dm755 pigz "$1/usr/bin/pigz" clman -d "$1" pigz.1 ln -sf pigz "$1/usr/bin/gzip" ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"