ncftp: bump version to 3.2.6
[buildroot-gz.git] / package / nftables / nftables.mk
blob10a1b4272cd71612fb799b310b1403e2127265a8
1 ################################################################################
3 # nftables
5 ################################################################################
7 NFTABLES_VERSION = 0.6
8 NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
9 NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
10 NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
11 host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
12 NFTABLES_LICENSE = GPLv2
13 NFTABLES_LICENSE_FILES = COPYING
15 ifeq ($(BR2_PACKAGE_READLINE),y)
16 NFTABLES_DEPENDENCIES += readline
17 NFTABLES_LIBS += -lncurses
18 else
19 NFTABLES_CONF_OPTS = --without-cli
20 endif
22 ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
23 NFTABLES_LIBS += -ljansson -lm
24 endif
25 ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
26 NFTABLES_LIBS += -lmxml -lpthread
27 endif
29 NFTABLES_CONF_ENV = \
30 ac_cv_prog_CONFIG_PDF=no \
31 LIBS="$(NFTABLES_LIBS)" \
32 DBLATEX=no \
33 DOCBOOK2X_MAN=no \
34 DOCBOOK2MAN=no \
35 DB2X_DOCBOOK2MAN=no
37 $(eval $(autotools-package))