2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-30 03:29:53 +01:00
|
|
|
#
|
|
|
|
# arptables
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-30 03:29:53 +01:00
|
|
|
|
2013-01-12 03:18:44 +01:00
|
|
|
ARPTABLES_VERSION = 0.0.4
|
|
|
|
ARPTABLES_SOURCE = arptables-v$(ARPTABLES_VERSION).tar.gz
|
2012-10-30 03:29:53 +01:00
|
|
|
ARPTABLES_SITE = http://downloads.sourceforge.net/project/ebtables/arptables/arptables-v$(ARPTABLES_VERSION)
|
2013-01-12 03:18:44 +01:00
|
|
|
ARPTABLES_LICENSE = GPLv2+
|
2012-10-30 03:29:53 +01:00
|
|
|
|
|
|
|
define ARPTABLES_BUILD_CMDS
|
2016-10-14 00:13:14 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
2012-10-30 03:29:53 +01:00
|
|
|
CC="$(TARGET_CC)" COPT_FLAGS="$(TARGET_CFLAGS)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ARPTABLES_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 755 -D $(@D)/arptables $(TARGET_DIR)/usr/sbin/arptables
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|