2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-27 00:42:40 +02:00
|
|
|
#
|
|
|
|
# ndisc6
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-27 00:42:40 +02:00
|
|
|
|
2017-09-13 11:38:23 +02:00
|
|
|
NDISC6_VERSION = 1.0.3
|
2012-04-27 00:42:40 +02:00
|
|
|
NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2
|
2014-07-31 10:46:58 +02:00
|
|
|
NDISC6_SITE = http://www.remlab.net/files/ndisc6
|
2017-07-03 23:01:00 +02:00
|
|
|
NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99" LIBS=$(TARGET_NLS_LIBS)
|
2014-10-18 00:36:33 +02:00
|
|
|
NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install
|
2017-03-30 15:43:33 +02:00
|
|
|
NDISC6_LICENSE = GPL-2.0 or GPL-3.0
|
2014-06-24 20:55:28 +02:00
|
|
|
NDISC6_LICENSE_FILES = COPYING
|
2017-11-29 23:16:22 +01:00
|
|
|
NDISC6_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
2012-05-15 09:42:44 +02:00
|
|
|
|
2012-04-27 00:42:40 +02:00
|
|
|
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_)) \
|
2014-11-30 15:18:18 +01:00
|
|
|
$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_))
|
2012-04-27 00:42:40 +02:00
|
|
|
$(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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|