# $Id$ PNAME="libnftnl" PVER="1.1.2" PBUILD="r1" PCAT="net-libs" DESCRIPTION="libnftnl is a userspace library providing a low-level netlink programming interface to the in-kernel nf_tables subsystem." HOMEPAGE="https://netfilter.org/projects/libnftnl/" DEPEND=">= net-libs/libmnl-1.0 >= dev-libs/jansson-2" SDEPEND=">= dev-util/pkgconfig-0.25" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://ftp.netfilter.org/pub/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://ftp.netfilter.org/pub/${PNAME}/ | highesttarball" src_compile() { cd ${SRCDIR} mconfigure --with-json-parsing || die mmake || die }