1 ################################################################################
5 ################################################################################
7 NSS_MDNS_VERSION
= 0.10
8 NSS_MDNS_SITE
= http
://0pointer.de
/lennart
/projects
/nss-mdns
9 NSS_MDNS_LICENSE
= LGPLv2.1
+
10 NSS_MDNS_LICENSE_FILES
= LICENSE
12 define NSS_MDNS_INSTALL_CONFIG
13 if
[ ! -f
"$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
14 $(INSTALL
) -D
-m
0644 package
/glibc
/nsswitch.conf
$(TARGET_DIR
)/etc
/nsswitch.conf
; \
16 sed
-r
-i
-e
's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
17 $(TARGET_DIR
)/etc
/nsswitch.conf
20 NSS_MDNS_POST_INSTALL_TARGET_HOOKS
+= NSS_MDNS_INSTALL_CONFIG
22 $(eval
$(autotools-package
))