diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
commit | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch) | |
tree | a63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /main/xtables-addons | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2 aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz |
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'main/xtables-addons')
-rw-r--r-- | main/xtables-addons/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD new file mode 100644 index 000000000..febbcdd72 --- /dev/null +++ b/main/xtables-addons/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +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" |