20 lines
833 B
Bash
20 lines
833 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="Orphaned <orphan@voidlinux.eu>"
|
|
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
|