2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 11:10:08 -07:00
repo/core/gzip/build

16 lines
314 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
2021-07-01 10:49:09 -06:00
mkdir -p \
"$1/usr/bin" \
"$1/usr/share/man/man1"
cp -f pigz unpigz "$1/usr/bin"
cp -f pigz.1 "$1/usr/share/man/man1"
2020-03-15 06:43:53 -06:00
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"