repo/core/gzip/build

13 lines
322 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"
2020-03-24 12:32:24 -06:00
install -Dm755 unpigz "$1/usr/bin/unpigz"
2020-03-15 06:43:53 -06:00
install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"
ln -sf pigz "$1/usr/bin/gzip"
2020-04-25 07:08:23 -06:00
ln -sf pigz "$1/usr/bin/zcat"
2020-03-24 12:32:24 -06:00
ln -sf unpigz "$1/usr/bin/gunzip"
2020-03-15 06:43:53 -06:00
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"