summaryrefslogtreecommitdiffstats
path: root/main/libmnl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-02 11:19:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-02 11:19:57 +0000
commit9ef32542c0f5f94bac8cb3e6fb3f76da7257b6d8 (patch)
tree3e40d4bb2030f90147a803c7739595e051e28ceb /main/libmnl
parent9e4527c340db04a335460d71b9c9fb7b758b7e75 (diff)
downloadaports-9ef32542c0f5f94bac8cb3e6fb3f76da7257b6d8.tar.bz2
aports-9ef32542c0f5f94bac8cb3e6fb3f76da7257b6d8.tar.xz
main/libmnl: moved from testing
ipset needs it
Diffstat (limited to 'main/libmnl')
-rw-r--r--main/libmnl/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/libmnl/APKBUILD b/main/libmnl/APKBUILD
new file mode 100644
index 000000000..c3f604ab5
--- /dev/null
+++ b/main/libmnl/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=libmnl
+pkgver=1.0.1
+pkgrel=1
+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
+ rm "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="e936236bb57a2375afa4e70e75dc3ba9 libmnl-1.0.1.tar.bz2"