summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/iptables/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 8f7e02c04..b08f790d5 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -3,7 +3,7 @@
pkgname=iptables
pkgver=1.4.11.1
-pkgrel=0
+pkgrel=1
pkgdesc="Linux kernel firewall, NAT and packet mangling tools"
url="http://www.iptables.org/"
arch="all"
@@ -43,7 +43,8 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- make -j1 install DESTDIR="$pkgdir"
+ make -j1 install DESTDIR="$pkgdir" || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
mkdir -p "$pkgdir"/usr/include/libiptc \
"$pkgdir"/usr/lib \