blob: 515fe9e10c4b921e78185dff2c4c4ef4006cb2d6 (
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.3
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
}
|