2019-07-07 16:38:41 +02:00
|
|
|
VERSION="1.1.3"
|
2018-02-12 02:48:46 +01:00
|
|
|
SRCDIR="libnftnl-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.bz2"
|
|
|
|
URL="https://netfilter.org/projects/libnftnl/files"
|
2019-07-07 16:38:41 +02:00
|
|
|
SHA256SUM="22dd97d3b06ae8c67499506e2bfd6803ce116479076ec3700e7a4c7cd9fcba0f"
|
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-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "libnftnl" "tar.bz2"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|