aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmnl/APKBUILD
blob: c3486497cc00d5c201c4a1e5c44def2a60d72e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"