# Maintainer: Natanael Copa pkgname=xtables-addons pkgver=1.17 pkgrel=0 pkgdesc="Netfilter userspace extensions for iptables" url="http://xtables-addons.sourceforge.net/" license="GPL" depends="iptables" makedepends="iptables-dev pkgconfig bash" install= subpackages="$pkgname-doc" 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}" || return 1 make DESTDIR="$pkgdir" install } md5sums="eca2e3f4f4904814e3a301539876fae6 xtables-addons-1.17.tar.bz2"