1 ################################################################################
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
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
)
29 define XTABLES_ADDONS_INSTALL_TARGET_CMDS
30 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) $(LINUX_MAKE_FLAGS
) DESTDIR
="$(TARGET_DIR)" install
33 $(eval
$(autotools-package
))