aboutsummaryrefslogtreecommitdiff
path: root/core/pigz/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/pigz/build')
-rwxr-xr-xcore/pigz/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/pigz/build b/core/pigz/build
new file mode 100755
index 00000000..e3f68273
--- /dev/null
+++ b/core/pigz/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+make CC="${CC:-cc} -static"
+
+install -Dm755 pigz "$1/usr/bin/pigz"
+install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"
+
+ln -sf pigz "$1/usr/bin/gzip"
+ln -sf pigz "$1/usr/bin/gunzip"
+ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"
+ln -sf pigz.1 "$1/usr/share/man/man1/gunzip.1"