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
|
|
|
|
2019-12-04 20:11:44 +01:00
|
|
|
ARPTABLES_VERSION = 0.0.5
|
|
|
|
ARPTABLES_SITE = http://ftp.netfilter.org/pub/arptables
|
2017-03-30 15:43:32 +02:00
|
|
|
ARPTABLES_LICENSE = GPL-2.0+
|
2019-12-04 20:11:44 +01:00
|
|
|
ARPTABLES_LICENSE_FILES = COPYING
|
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
|
2019-12-04 20:11:44 +01:00
|
|
|
$(INSTALL) -m 755 -D $(@D)/arptables-legacy \
|
|
|
|
$(TARGET_DIR)/usr/sbin/arptables-legacy
|
2012-10-30 03:29:53 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|