blob: 5f36744f882a87245a0f9a897247ec248c3d22ad (
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
|
#!/bin/sh
NAME="libnftnl"
DESC="Netfilter library providing interface to the nf_tables subsystem"
MAKEDEPS=" bash jansson libmnl"
PKG_VER=1.2.1
SOURCE="https://netfilter.org/projects/libnftnl/files/libnftnl-$PKG_VER.tar.bz2"
build() {
cd "$BUILD_ROOT"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-static
make
}
check() {
cd "$BUILD_ROOT"/tests
make check
}
package() {
cd "$BUILD_ROOT"
make DESTDIR="$PKG_DEST" install
}
|