337aa51f3f
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
1.4 KiB
Makefile
40 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# ndisc6
|
|
#
|
|
################################################################################
|
|
|
|
NDISC6_VERSION = 1.0.2
|
|
NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2
|
|
NDISC6_SITE = http://www.remlab.net/files/ndisc6
|
|
NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99"
|
|
NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install
|
|
NDISC6_LICENSE = GPL-2.0 or GPL-3.0
|
|
NDISC6_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
NDISC6_DEPENDENCIES += gettext
|
|
NDISC6_CONF_ENV += LIBS="-lintl"
|
|
endif
|
|
|
|
NDISC6_BIN_ += dnssort # perl script
|
|
NDISC6_BIN_$(BR2_PACKAGE_NDISC6_NAME2ADDR) += name2addr addr2name
|
|
NDISC6_BIN_$(BR2_PACKAGE_NDISC6_TCPSPRAY) += tcpspray tcpspray6
|
|
|
|
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_NDISC6) += ndisc6
|
|
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDISC6) += rdisc6
|
|
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd
|
|
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6
|
|
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6
|
|
|
|
define NDISC6_REMOVE_UNNEEDED
|
|
rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \
|
|
$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_))
|
|
$(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\
|
|
rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd)
|
|
endef
|
|
|
|
NDISC6_POST_INSTALL_TARGET_HOOKS += NDISC6_REMOVE_UNNEEDED
|
|
|
|
$(eval $(autotools-package))
|