void-packages/srcpkgs/conntrack-tools/template

21 lines
832 B
Bash

# Template file for 'conntrack-tools'
pkgname=conntrack-tools
version=1.4.4
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=b7caf4fcc4c03575df57d25e5216584d597fd916c891f191dac616ce68bdba6c
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libtirpc-devel"
CFLAGS="-D_GNU_SOURCE -I${XBPS_CROSS_BASE}/usr/include/tirpc"
LDFLAGS="-ltirpc"
;;
esac