aboutsummaryrefslogtreecommitdiff
path: root/core/gzip/build
blob: 8d190a07552abb134a0cb510771edcb2089bf2d3 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

make CC="${CC:-cc} -static"

install -Dm755 pigz   "$1/usr/bin/pigz"
install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"

ln -sf pigz   "$1/usr/bin/gzip"
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"