1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 19:47:09 +01:00
build/pkg/libnftnl/build
David Oberhollenzer e9fc7797be Bump libnftnl version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-09-18 14:07:02 +02:00

25 lines
518 B
Text

VERSION="1.1.4"
SRCDIR="libnftnl-${VERSION}"
TARBALL="${SRCDIR}.tar.bz2"
URL="https://netfilter.org/projects/libnftnl/files"
SHA256SUM="c8c7988347adf261efac5bba59f8e5f995ffb65f247a88cc144e69620573ed20"
DEPENDS="libmnl-dev toolchain"
SUBPKG="libnftnl libnftnl-dev"
prepare() {
return
}
build() {
run_configure "$1"
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "libnftnl" "tar.bz2"
}