2014-04-17 15:12:44 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nftables
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-06-25 21:01:27 +02:00
|
|
|
NFTABLES_VERSION = 0.3
|
2014-04-17 15:12:44 +02:00
|
|
|
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
|
|
|
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
|
|
|
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl readline host-bison host-flex \
|
|
|
|
host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
|
|
|
|
NFTABLES_LICENSE = GPLv2
|
|
|
|
NFTABLES_LICENSE_FILES = COPYING
|
|
|
|
|
2014-11-26 20:49:02 +01:00
|
|
|
NFTABLES_LIBS = -lncurses
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
|
|
|
NFTABLES_LIBS += -ljansson -lm
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
|
|
|
|
NFTABLES_LIBS += -lmxml -lpthread
|
|
|
|
endif
|
|
|
|
|
2014-08-16 15:35:47 +02:00
|
|
|
NFTABLES_CONF_ENV = \
|
|
|
|
ac_cv_prog_CONFIG_PDF=no \
|
2014-11-26 20:49:02 +01:00
|
|
|
LIBS="$(NFTABLES_LIBS)"
|
2014-05-06 12:59:45 +02:00
|
|
|
|
2014-04-17 15:12:44 +02:00
|
|
|
$(eval $(autotools-package))
|