buildroot/package/arptables/arptables.mk
Fabrice Fontaine 6ade587665 package/arptables: bump to version 0.0.5
- Update site to retrieve latest version
- Remove first, second and third patches (already in version)
- Use the new COPYING file as the license file
- arptables binary is now named arptables-legacy since
  http://git.netfilter.org/arptables/commit/?id=28b22d55615447c94c5058e0aacec612ebc27f2a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-06 23:39:45 +01:00

23 lines
609 B
Makefile

################################################################################
#
# arptables
#
################################################################################
ARPTABLES_VERSION = 0.0.5
ARPTABLES_SITE = http://ftp.netfilter.org/pub/arptables
ARPTABLES_LICENSE = GPL-2.0+
ARPTABLES_LICENSE_FILES = COPYING
define ARPTABLES_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
CC="$(TARGET_CC)" COPT_FLAGS="$(TARGET_CFLAGS)"
endef
define ARPTABLES_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -D $(@D)/arptables-legacy \
$(TARGET_DIR)/usr/sbin/arptables-legacy
endef
$(eval $(generic-package))