aboutsummaryrefslogtreecommitdiff
path: root/core/gzip/build
blob: ede2736a08071ccb89717fee2b79b4c203c95aa7 (plain)
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"