aboutsummaryrefslogtreecommitdiff
path: root/core/gzip/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-17 12:55:24 +0300
committerCem Keylan <cem@ckyln.com>2020-03-17 12:55:24 +0300
commite1cc2511d04693165deec22fb448bac9838f57c2 (patch)
tree4a04b3816b78d5c79c0754e46ea6d73c61e99e43 /core/gzip/build
parent32dc7a9e03a70ed8a6405f756a8678211f2acf1d (diff)
downloadrepository-e1cc2511d04693165deec22fb448bac9838f57c2.tar.gz
meta: sync core with KISS
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"