1 ################################################################################
5 ################################################################################
8 NDISC6_SOURCE
= ndisc6-
$(NDISC6_VERSION
).
tar.bz2
9 NDISC6_SITE
= http
://www.remlab.net
/files
/ndisc6
10 NDISC6_CONF_ENV
= CC
="$(TARGET_CC) -std=gnu99"
11 NDISC6_CONF_OPTS
= --disable-rpath
--disable-suid-install
12 NDISC6_LICENSE
= GPLv2 or GPLv3
13 NDISC6_LICENSE_FILES
= COPYING
15 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
16 NDISC6_DEPENDENCIES
+= gettext
17 NDISC6_CONF_ENV
+= LIBS
="-lintl"
20 NDISC6_BIN_
+= dnssort
# perl script
21 NDISC6_BIN_
$(BR2_PACKAGE_NDISC6_NAME2ADDR
) += name2addr addr2name
22 NDISC6_BIN_
$(BR2_PACKAGE_NDISC6_TCPSPRAY
) += tcpspray tcpspray6
24 NDISC6_SBIN_
$(BR2_PACKAGE_NDISC6_NDISC6
) += ndisc6
25 NDISC6_SBIN_
$(BR2_PACKAGE_NDISC6_RDISC6
) += rdisc6
26 NDISC6_SBIN_
$(BR2_PACKAGE_NDISC6_RDNSSD
) += rdnssd
27 NDISC6_SBIN_
$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6
) += rltraceroute6 tracert6
28 NDISC6_SBIN_
$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6
) += tcptraceroute6
30 define NDISC6_REMOVE_UNNEEDED
31 rm -rf
$(addprefix $(TARGET_DIR
)/usr
/bin
/,$(NDISC6_BIN_
)) \
32 $(addprefix $(TARGET_DIR
)/usr
/sbin
/,$(NDISC6_SBIN_
))
33 $(if
$(BR2_PACKAGE_NDISC6_RDNSSD
),,\
34 rm -rf
$(TARGET_DIR
)/etc
/rdnssd
$(TARGET_DIR
)/var
/run
/rdnssd
)
37 NDISC6_POST_INSTALL_TARGET_HOOKS
+= NDISC6_REMOVE_UNNEEDED
39 $(eval
$(autotools-package
))