toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / xtables-addons / xtables-addons.mk
blob54d15173f51ddcf57f161c4cdaafc4dd0fdf702c
1 ################################################################################
3 # xtables-addons
5 ################################################################################
7 XTABLES_ADDONS_VERSION = 2.11
8 XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz
9 XTABLES_ADDONS_SITE = http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons/$(XTABLES_ADDONS_VERSION)
10 XTABLES_ADDONS_DEPENDENCIES = iptables linux host-pkgconf
11 XTABLES_ADDONS_LICENSE = GPLv2+
12 XTABLES_ADDONS_LICENSE_FILES = LICENSE
14 XTABLES_ADDONS_CONF_OPTS = \
15 --with-kbuild="$(LINUX_DIR)" \
16 --with-xtables="$(STAGING_DIR)/usr" \
17 --with-xtlibdir="/usr/lib/xtables"
19 # geoip helpers need perl with modules and unzip so disable
20 define XTABLES_DISABLE_GEOIP_HELPERS
21 $(SED) 's/ geoip//' $(@D)/Makefile.in
22 endef
23 XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_DISABLE_GEOIP_HELPERS
25 define XTABLES_ADDONS_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS)
27 endef
29 define XTABLES_ADDONS_INSTALL_TARGET_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) DESTDIR="$(TARGET_DIR)" install
31 endef
33 $(eval $(autotools-package))