python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / xtables-addons / xtables-addons.mk
blob274e68181862df71b8b736ca2f95384781efd57f
1 ################################################################################
3 # xtables-addons
5 ################################################################################
7 XTABLES_ADDONS_VERSION = 2.12
8 XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz
9 XTABLES_ADDONS_SITE = http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons
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))