summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:00:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:00:39 +0000
commite8993bab9dab71366604a2890eb3f796073823cb (patch)
tree14b47f41641a0d3258e8785f8e0be0054c0f028b
parentccd1516b623811696470837990089a68118533a8 (diff)
downloadaports-e8993bab9dab71366604a2890eb3f796073823cb.tar.bz2
aports-e8993bab9dab71366604a2890eb3f796073823cb.tar.xz
main/iptables: remove *.la
-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 \