X-Git-Url: https://git.armaanb.net/?p=asd-repo.git;a=blobdiff_plain;f=core%2Fpigz%2Fbuild;fp=core%2Fpigz%2Fbuild;h=9367c7c9b3a773610bbdbe46feea9888de302f61;hp=0000000000000000000000000000000000000000;hb=23aa4f01cba1ee82a07ca376d514b16692da2f6c;hpb=21a7a540f15c5da22d2b2e5010c525204bd926dd diff --git a/core/pigz/build b/core/pigz/build new file mode 100755 index 0000000..9367c7c --- /dev/null +++ b/core/pigz/build @@ -0,0 +1,12 @@ +#!/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 pigz "$1/usr/bin/zcat" +ln -sf unpigz "$1/usr/bin/gunzip" +ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"