aboutsummaryrefslogtreecommitdiff
path: root/core/pigz/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-06 09:15:47 +0300
committerCem Keylan <cem@ckyln.com>2021-09-06 09:15:47 +0300
commit804d08e99a435aa558aa17a235d31274193a197b (patch)
tree390067818a700697f6ee6b9317e23a662b9932d4 /core/pigz/build
parent27da7a44f4d9669d7283e767e4bb72c9460559c1 (diff)
downloadrepository-804d08e99a435aa558aa17a235d31274193a197b.tar.gz
pigz: add new package at 2.6
Diffstat (limited to 'core/pigz/build')
-rwxr-xr-xcore/pigz/build9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/pigz/build b/core/pigz/build
new file mode 100755
index 00000000..8d190a07
--- /dev/null
+++ b/core/pigz/build
@@ -0,0 +1,9 @@
+#!/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 "$1/usr/share/man/man1/gzip.1"