diff options
Diffstat (limited to 'testing/libmnl/APKBUILD')
-rw-r--r-- | testing/libmnl/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/libmnl/APKBUILD b/testing/libmnl/APKBUILD new file mode 100644 index 000000000..c3f604ab5 --- /dev/null +++ b/testing/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" |