aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ipset
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-03-01 12:19:39 +0000
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-03-01 12:19:39 +0000
commitabbcd96bcef879d3916eccca26e57625498e6bf2 (patch)
treee62142278a9d734a74672e7d64de53af2fb4b757 /testing/ipset
parent9e99574dd72e46ff68d4e839d14b16d45a6b9027 (diff)
downloadaports-abbcd96bcef879d3916eccca26e57625498e6bf2.tar.bz2
aports-abbcd96bcef879d3916eccca26e57625498e6bf2.tar.xz
testing/ipset: package added
Diffstat (limited to 'testing/ipset')
-rw-r--r--testing/ipset/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/ipset/APKBUILD b/testing/ipset/APKBUILD
new file mode 100644
index 0000000000..e731af0c37
--- /dev/null
+++ b/testing/ipset/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer:
+pkgname=ipset
+pkgver=6.11
+pkgrel=0
+pkgdesc="Manage Linux IP sets"
+url=http://ipset.netfilter.org/
+arch=all
+license=GPL-2
+depends_dev=libmnl-dev
+makedepends="$depends_dev automake autoconf pkgconfig libtool linux-headers"
+subpackages="$pkgname-dev $pkgname-doc"
+source=${url}ipset-$pkgver.tar.bz2
+
+_builddir=$srcdir/ipset-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --with-kmod=no --prefix=/usr && make
+}
+
+package() {
+ cd "$_builddir"
+ make install DESTDIR=$pkgdir || return
+ rm $pkgdir/usr/lib/*.la
+}
+
+md5sums="bfcc92e30a0fcf10ae6e7c4affa03c84 ipset-6.11.tar.bz2"