blob: d19a73d4a978a5eb47e8c7099f7231759ce029ac (
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
33
34
35
36
37
38
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=libnftnl
pkgver=1.0.7
pkgrel=0
pkgdesc="Netfilter library providing interface to the nf_tables subsystem"
url="http://netfilter.org/projects/libnftnl/"
arch="all"
license="GPL2"
depends=""
depends_dev="libmnl-dev"
makedepends="$depends_dev bash"
install=""
subpackages="$pkgname-dev $pkgname-libs"
source="http://netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
make DESTDIR="$pkgdir" \
-C "$builddir" install || return 1
}
md5sums="82183867168eb6644926c48b991b8aac libnftnl-1.0.7.tar.bz2"
sha256sums="9bb66ecbc64b8508249402f0093829f44177770ad99f6042b86b3a467d963982 libnftnl-1.0.7.tar.bz2"
sha512sums="a220c6a2857b4ff7325bfa4fbf537c5afeb66232a7e190b50c3077f01b86f0fb1842055ccc719280b36820ac7103cbe8168944ffe10c55444830ff77449fa6a5 libnftnl-1.0.7.tar.bz2"
|