From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/libnftnl/libnftnl.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/libnftnl/libnftnl.xibuild (limited to 'repo/libnftnl') diff --git a/repo/libnftnl/libnftnl.xibuild b/repo/libnftnl/libnftnl.xibuild new file mode 100644 index 0000000..5f36744 --- /dev/null +++ b/repo/libnftnl/libnftnl.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="libnftnl" +DESC="Netfilter library providing interface to the nf_tables subsystem" + +MAKEDEPS=" bash jansson libmnl" + +PKG_VER=1.2.1 +SOURCE="https://netfilter.org/projects/libnftnl/files/libnftnl-$PKG_VER.tar.bz2" + +build() { + cd "$BUILD_ROOT" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-static + make +} + +check() { + cd "$BUILD_ROOT"/tests + make check +} + +package() { + cd "$BUILD_ROOT" + make DESTDIR="$PKG_DEST" install +} + -- cgit v1.2.1