2014-04-17 15:12:44 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nftables
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-02 16:21:00 +02:00
|
|
|
NFTABLES_VERSION = 0.5
|
2014-04-17 15:12:44 +02:00
|
|
|
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
|
|
|
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
2014-12-07 00:21:53 +01:00
|
|
|
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
|
2014-04-17 15:12:44 +02:00
|
|
|
host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
|
|
|
|
NFTABLES_LICENSE = GPLv2
|
|
|
|
NFTABLES_LICENSE_FILES = COPYING
|
|
|
|
|
2014-12-07 00:21:53 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
NFTABLES_DEPENDENCIES += readline
|
|
|
|
NFTABLES_LIBS += -lncurses
|
|
|
|
else
|
|
|
|
NFTABLES_CONF_OPTS = --without-cli
|
|
|
|
endif
|
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
2014-11-26 20:49:02 +01:00
|
|
|
NFTABLES_LIBS += -ljansson -lm
|
|
|
|
endif
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
|
2014-11-26 20:49:02 +01:00
|
|
|
NFTABLES_LIBS += -lmxml -lpthread
|
|
|
|
endif
|
|
|
|
|
2014-08-16 15:35:47 +02:00
|
|
|
NFTABLES_CONF_ENV = \
|
|
|
|
ac_cv_prog_CONFIG_PDF=no \
|
2014-12-27 15:50:20 +01:00
|
|
|
LIBS="$(NFTABLES_LIBS)" \
|
|
|
|
DBLATEX=no \
|
|
|
|
DOCBOOK2X_MAN=no \
|
|
|
|
DOCBOOK2MAN=no \
|
|
|
|
DB2X_DOCBOOK2MAN=no
|
2014-05-06 12:59:45 +02:00
|
|
|
|
2014-04-17 15:12:44 +02:00
|
|
|
$(eval $(autotools-package))
|