aboutsummaryrefslogtreecommitdiff
path: root/core/gzip/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/gzip/build')
-rwxr-xr-xcore/gzip/build10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/gzip/build b/core/gzip/build
index 6daf22f8..8d190a07 100755
--- a/core/gzip/build
+++ b/core/gzip/build
@@ -1,7 +1,9 @@
#!/bin/sh -e
-./configure \
- --prefix=/usr
+make CC="${CC:-cc} -static"
-make
-make DESTDIR="$1" install
+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"