2018-11-26 16:23:25 +01:00
|
|
|
VERSION="1.1.2"
|
2018-02-12 02:48:46 +01:00
|
|
|
SRCDIR="libnftnl-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.bz2"
|
|
|
|
URL="https://netfilter.org/projects/libnftnl/files"
|
2018-11-26 16:23:25 +01:00
|
|
|
SHA256SUM="a5c7b7a6c13c9c5898b13fcb1126fefce2015d5a96d7c354b19aaa40b6aece5d"
|
2019-03-30 23:28:30 +01:00
|
|
|
DEPENDS="libmnl-dev toolchain"
|
2019-02-27 14:22:03 +01:00
|
|
|
SUBPKG="libnftnl libnftnl-dev"
|
2018-02-12 02:48:46 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1"
|
2018-02-12 02:48:46 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-02-12 02:48:46 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-03-30 10:40:54 +01:00
|
|
|
check_update_simple "$URL" "libnftnl-" "tar.bz2"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|