void-packages/srcpkgs/conntrack-tools/template
2018-05-03 20:49:24 +00:00

20 lines
832 B
Bash

# Template file for 'conntrack-tools'
pkgname=conntrack-tools
version=1.4.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config flex"
makedepends="libnfnetlink-devel libnetfilter_conntrack-devel libnetfilter_cttimeout-devel libnetfilter_cthelper-devel libnetfilter_queue-devel libmnl-devel"
short_desc="Tools to interact with the netfilter connection tracking system"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-2"
homepage="http://conntrack-tools.netfilter.org/"
distfiles="http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${version}.tar.bz2"
checksum=36c6d99c7684851d4d72e75bd07ff3f0ff1baaf4b6f069eb7244990cd1a9a462
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libtirpc-devel"
CFLAGS="-D_GNU_SOURCE -I${XBPS_CROSS_BASE}/usr/include/tirpc"
LDFLAGS="-ltirpc"
;;
esac