summaryrefslogtreecommitdiff
path: root/package/nss-mdns/nss-mdns.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/nss-mdns/nss-mdns.mk')
-rw-r--r--package/nss-mdns/nss-mdns.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/nss-mdns/nss-mdns.mk b/package/nss-mdns/nss-mdns.mk
new file mode 100644
index 000000000..8f7d9a9a8
--- /dev/null
+++ b/package/nss-mdns/nss-mdns.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# nss_mdns
+#
+#############################################################
+NSS_MDNS_VERSION=0.10
+NSS_MDNS_SITE=http://0pointer.de/lennart/projects/nss-mdns
+
+define NSS_MDNS_INSTALL_CONFIG
+ $(INSTALL) -D -m 0664 package/nss-mdns/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf
+endef
+
+NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG
+
+$(eval $(call AUTOTARGETS))