aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmnl
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-05-20 07:41:09 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-05-20 07:42:07 +0000
commit6b81413377e1e13b40e0d5968e38db64063d605e (patch)
tree0f308e5bf91b7dcf6700dcff5f666c48eedb907a /testing/libmnl
parent0b5ff878b1c06a427cf75e373f4c963a596ecedf (diff)
downloadaports-6b81413377e1e13b40e0d5968e38db64063d605e.tar.bz2
aports-6b81413377e1e13b40e0d5968e38db64063d605e.tar.xz
testing/libmnl: new apkbuild - needed for new ipset feature for kernel >= 2.6.34
Diffstat (limited to 'testing/libmnl')
-rw-r--r--testing/libmnl/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libmnl/APKBUILD b/testing/libmnl/APKBUILD
new file mode 100644
index 0000000000..c3486497cc
--- /dev/null
+++ b/testing/libmnl/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=libmnl
+pkgver=1.0.1
+pkgrel=0
+pkgdesc="Library for minimalistic netlink"
+url="http://www.netfilter.org/projects/libmnl/"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="e936236bb57a2375afa4e70e75dc3ba9 libmnl-1.0.1.tar.bz2"