2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-18 13:32:51 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# nss-mdns
|
2012-06-18 13:32:51 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
NSS_MDNS_VERSION = 0.10
|
|
|
|
NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns
|
2012-06-18 13:32:51 +02:00
|
|
|
|
2013-07-18 23:24:13 +02:00
|
|
|
NSS_MDNS_CONF_OPT += --localstatedir=/var
|
|
|
|
|
2012-06-18 13:32:51 +02:00
|
|
|
define NSS_MDNS_INSTALL_CONFIG
|
2013-07-18 23:24:14 +02:00
|
|
|
sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
|
|
|
|
$(TARGET_DIR)/etc/nsswitch.conf
|
2012-06-18 13:32:51 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|