python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / conntrack-tools / conntrack-tools.mk
blobb73aa7f4db325ee82e56f091d8debdc6572346ab
1 ################################################################################
3 # conntrack-tools
5 ################################################################################
7 CONNTRACK_TOOLS_VERSION = 1.4.4
8 CONNTRACK_TOOLS_SOURCE = conntrack-tools-$(CONNTRACK_TOOLS_VERSION).tar.bz2
9 CONNTRACK_TOOLS_SITE = http://www.netfilter.org/projects/conntrack-tools/files
10 CONNTRACK_TOOLS_DEPENDENCIES = host-pkgconf \
11 libnetfilter_conntrack libnetfilter_cthelper libnetfilter_cttimeout \
12 libnetfilter_queue host-bison host-flex
13 CONNTRACK_TOOLS_LICENSE = GPLv2+
14 CONNTRACK_TOOLS_LICENSE_FILES = COPYING
16 CONNTRACK_TOOLS_CFLAGS = $(TARGET_CFLAGS)
18 # Some of conntrack-tools source files include both linux/in.h (via
19 # linux/netfilter.h for kernel headers >= 4.2) and netinet/in.h, which
20 # causes some symbol conflicts when musl is used. Defining __GLIBC__
21 # works around that issue since the kernel headers are prepared to
22 # avoid redefinition of certain symbols when they see __GLIBC__.
23 ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
24 CONNTRACK_TOOLS_CFLAGS += -D__GLIBC__
25 endif
27 ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
28 CONNTRACK_TOOLS_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
29 CONNTRACK_TOOLS_DEPENDENCIES += libtirpc host-pkgconf
30 endif
32 CONNTRACK_TOOLS_CONF_ENV = CFLAGS="$(CONNTRACK_TOOLS_CFLAGS)"
34 $(eval $(autotools-package))