do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/compression/pigz/add.sh

ports/compression/pigz/add.sh


set -e
 
git clone https://github.com/madler/pigz.git
cd pigz
make CC="${CC:-cc}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
cp pigz $MP_PREFIX/bin/pigz
ln -sf pigz $MP_PREFIX/bin/unpigz
# %gzip: pigz's own argv0 dispatch (pigz.c's own g.prog checks) already
# supports this -- "gunzip"/"*cat" trigger decompress/decompress-to-
# stdout, and its own DEFAULT (no special name matched) mode is
# compress, matching plain gzip's own default exactly. confirmed
# directly against pigz.c itself, not assumed.
ln -sf pigz $MP_PREFIX/bin/gzip
ln -sf pigz $MP_PREFIX/bin/gunzip
ln -sf pigz $MP_PREFIX/bin/zcat
make clean || true
powered by btf.