mirror of
https://github.com/pygos/build.git
synced 2024-11-25 04:20:41 +01:00
25 lines
518 B
Text
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"
|
|
}
|