af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
668 B
Makefile
22 lines
668 B
Makefile
################################################################################
|
|
#
|
|
# arptables
|
|
#
|
|
################################################################################
|
|
|
|
ARPTABLES_VERSION = 0.0.4
|
|
ARPTABLES_SOURCE = arptables-v$(ARPTABLES_VERSION).tar.gz
|
|
ARPTABLES_SITE = http://downloads.sourceforge.net/project/ebtables/arptables/arptables-v$(ARPTABLES_VERSION)
|
|
ARPTABLES_LICENSE = GPL-2.0+
|
|
|
|
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 $(TARGET_DIR)/usr/sbin/arptables
|
|
endef
|
|
|
|
$(eval $(generic-package))
|