22 lines
706 B
Bash
22 lines
706 B
Bash
# Template file for 'nftables'
|
|
pkgname=nftables
|
|
version=0.8
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--sbindir=/usr/bin CONFIG_MAN=y DB2MAN=docbook2man"
|
|
hostmakedepends="pkg-config docbook2x flex bison"
|
|
makedepends="libnftnl-devel libmnl-devel gmp-devel readline-devel"
|
|
short_desc="Netfilter nftables userspace tools"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2"
|
|
homepage="http://netfilter.org/projects/nftables/"
|
|
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
|
|
checksum=3f5b88e7b163bb46aa39e89419686b98f9316606a05865c3856dc68e414f389a
|
|
|
|
post_extract() {
|
|
sed -i '1i#include "config.h"' src/proto.c
|
|
}
|
|
post_install() {
|
|
vsv $pkgname
|
|
}
|