1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-25 04:20:41 +01:00
build/pkg/libnftnl/build
David Oberhollenzer ff701d0451 Bump libnftnl version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-07-07 16:38:41 +02:00

25 lines
518 B
Text

VERSION="1.1.3"
SRCDIR="libnftnl-${VERSION}"
TARBALL="${SRCDIR}.tar.bz2"
URL="https://netfilter.org/projects/libnftnl/files"
SHA256SUM="22dd97d3b06ae8c67499506e2bfd6803ce116479076ec3700e7a4c7cd9fcba0f"
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"
}