1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-29 06:20:12 +02: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

26 lines
518 B
Plaintext

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"
}