summaryrefslogtreecommitdiff
path: root/system/pigz/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/pigz/APKBUILD')
-rw-r--r--system/pigz/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/pigz/APKBUILD b/system/pigz/APKBUILD
index 44ebab127..a595a062e 100644
--- a/system/pigz/APKBUILD
+++ b/system/pigz/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pigz
pkgver=2.8
-pkgrel=0
+pkgrel=1
pkgdesc="Parallel implementation of gzip"
url="https://zlib.net/pigz/"
arch="all"
@@ -10,10 +10,12 @@ license="zlib"
depends=""
makedepends="zlib-dev cmd:which"
subpackages="$pkgname-doc"
-source="https://zlib.net/pigz/pigz-$pkgver.tar.gz"
+source="https://zlib.net/pigz/pigz-$pkgver.tar.gz
+ allow-flags.patch
+ "
build() {
- make pigz
+ LDFLAGS="-static" make pigz
}
check() {
@@ -29,4 +31,5 @@ package() {
install -m644 pigz.1 "$pkgdir"/usr/share/man/man1
}
-sha512sums="ae3d9d593e1645d65f9ab77aa828600c9af4bb30d0a073da7ae3dd805e65b87efaf6a0efb980f2d0168e475ae506eba194547d6479956dabb9d88293a9078a7f pigz-2.8.tar.gz"
+sha512sums="ae3d9d593e1645d65f9ab77aa828600c9af4bb30d0a073da7ae3dd805e65b87efaf6a0efb980f2d0168e475ae506eba194547d6479956dabb9d88293a9078a7f pigz-2.8.tar.gz
+5b899e78aa1e169b05f1e80e7e72f2ab11556da5e4de9ea85aadac00d24cfdaf34bc6b0535a103411003414365e1d4e0e584dce712fdad1c3ecd82da07d2263d allow-flags.patch"