aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-03-31 12:35:33 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-03-31 12:35:33 +0000
commit8bb9424c72fabdf47c2fa22b1804fab392e8eabb (patch)
treed7c446fc3517bded438484701d17007c53ffb078 /main/xtables-addons
parent2ab4705c110e4c2a41940f2c8293ece753105746 (diff)
downloadaports-8bb9424c72fabdf47c2fa22b1804fab392e8eabb.tar.bz2
aports-8bb9424c72fabdf47c2fa22b1804fab392e8eabb.tar.xz
main/xtables-addons: rebuild against new iptables
Diffstat (limited to 'main/xtables-addons')
-rw-r--r--main/xtables-addons/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD
index ab7449a3ce..d9eabbc8ee 100644
--- a/main/xtables-addons/APKBUILD
+++ b/main/xtables-addons/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xtables-addons
pkgver=2.9
-pkgrel=0
+pkgrel=1
pkgdesc="Netfilter userspace extensions for iptables"
url="http://xtables-addons.sourceforge.net/"
arch="all"
@@ -12,14 +12,10 @@ install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
@@ -33,7 +29,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make builddir= DESTDIR="$pkgdir" install || return 1
}