1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 19:19:46 +01:00
build/pkg/libnftnl/build

26 lines
518 B
Text
Raw Normal View History

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