repo/core/gzip/build

10 lines
214 B
Plaintext
Raw Normal View History

2019-07-29 23:05:37 -06:00
#!/bin/sh -e
2020-03-15 06:43:53 -06:00
make CC="${CC:-cc} -static"
2019-07-29 23:05:37 -06:00
2020-03-15 06:43:53 -06:00
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"