void-packages/srcpkgs/conntrack-tools/template

21 lines
853 B
Bash

# Template file for 'conntrack-tools'
pkgname=conntrack-tools
version=1.4.6
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="Anthony Iliopoulos <ailiop@altatus.com>"
license="GPL-2.0-or-later"
homepage="http://conntrack-tools.netfilter.org/"
distfiles="http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${version}.tar.bz2"
checksum=590859cc848245dbfd9c6487761dd303b3a1771e007f4f42213063ca56205d5f
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libtirpc-devel"
CFLAGS="-D_GNU_SOURCE -I${XBPS_CROSS_BASE}/usr/include/tirpc"
LDFLAGS="-ltirpc"
;;
esac