aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnetfilter_conntrack/APKBUILD
blob: 1262fe4b2d6ecbb20618b27aff9999b9eabfbb94 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnetfilter_conntrack
pkgver=0.0.101
pkgrel=0
pkgdesc="programming interface (API) to the in-kernel connection tracking state table"
url="http://www.netfilter.org/projects/libnetfilter_conntrack/"
license="GPL-2"
depends=
makedepends="pkgconfig libnfnetlink-dev"
subpackages="$pkgname-dev"
source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="3c4b4048c914f2694c3ca6de2bb457dc  libnetfilter_conntrack-0.0.101.tar.bz2"