aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xtables-addons/APKBUILD')
-rw-r--r--main/xtables-addons/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD
index 1196e3efcb..94645333fb 100644
--- a/main/xtables-addons/APKBUILD
+++ b/main/xtables-addons/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xtables-addons
-pkgver=1.17
-pkgrel=1
+pkgver=1.20
+pkgrel=0
pkgdesc="Netfilter userspace extensions for iptables"
url="http://xtables-addons.sourceforge.net/"
license="GPL"
-depends="iptables"
+depends=
makedepends="iptables-dev pkgconfig bash"
install=
subpackages="$pkgname-doc"
@@ -13,16 +13,17 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
+
./configure --prefix=/usr \
--mandir=/usr/share/man \
--without-kbuild
- # we dont want to build or install modules. We hack the makefile
- sed -i -e '/^all:/s/modules//; /^install:/s/modules_install//' \
- extensions/GNUmakefile
+ make CC="${CC-gcc}" kbuilddir=
+}
- make CC="${CC-gcc}" || return 1
- make DESTDIR="$pkgdir" install
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make builddir= DESTDIR="$pkgdir" install
}
-md5sums="eca2e3f4f4904814e3a301539876fae6 xtables-addons-1.17.tar.bz2"
+md5sums="d5f8281af22f5e32bb8010f99f1ab44b xtables-addons-1.20.tar.bz2"