summaryrefslogtreecommitdiff
path: root/main/libnfnetlink/APKBUILD
blob: af4b95d886ef786d35760c91150b5547d7e030de (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
28
29
30
31
32
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfnetlink
pkgver=1.0.2
pkgrel=3
pkgdesc="low-level library for netfilter related kernel/userspace communication"
url="https://www.netfilter.org/projects/libnfnetlink/"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers"
subpackages="$pkgname-static $pkgname-dev"
source="https://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
a5e9ae22831f1d17703f83953f3b0ef898e8b3fa7f0f771b038db51816ddae3158574380ac4d45c09fb8fbb8677e2ccdcc5c4736e3b09de06eac99f899130854  libnfnetlink-1.0.2.tar.bz2
"