2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 08:20:05 -07:00
repo/core/gzip/build
2020-03-24 20:32:24 +02:00

12 lines
290 B
Bash
Executable File

#!/bin/sh -e
make CC="${CC:-cc} -static"
install -Dm755 pigz "$1/usr/bin/pigz"
install -Dm755 unpigz "$1/usr/bin/unpigz"
install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"
ln -sf pigz "$1/usr/bin/gzip"
ln -sf unpigz "$1/usr/bin/gunzip"
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"