aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmnl/APKBUILD
blob: 3d3a70c57a9726ae5af7d7b8f24ba31d4da34661 (plain) (blame)
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
28
29
30
31
32
33
34
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libmnl
pkgver=1.0.4
pkgrel=0
pkgdesc="Library for minimalistic netlink"
url="http://www.netfilter.org/projects/libmnl/"
arch="all"
license="GPL"
depends=
depends_dev="linux-headers"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="be9b4b5328c6da1bda565ac5dffadb2d  libmnl-1.0.4.tar.bz2"
sha256sums="171f89699f286a5854b72b91d06e8f8e3683064c5901fb09d954a9ab6f551f81  libmnl-1.0.4.tar.bz2"
sha512sums="e2bbfb688fe41913d53c74ba7ec95b4e88ee2c52b556b8608185f2fcbd629665423a3b37f877f84426ba257cf6040fa701539d67166b00b8e3e2dfde6831a2f9  libmnl-1.0.4.tar.bz2"