f32afb8f30
Update indentation in hash file (two spaces) https://github.com/lathiat/nss-mdns/blob/v0.15.1/NEWS.md Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
702 B
Makefile
23 lines
702 B
Makefile
################################################################################
|
|
#
|
|
# nss-mdns
|
|
#
|
|
################################################################################
|
|
|
|
NSS_MDNS_VERSION = 0.15.1
|
|
NSS_MDNS_SITE = \
|
|
https://github.com/lathiat/nss-mdns/releases/download/v$(NSS_MDNS_VERSION)
|
|
NSS_MDNS_LICENSE = LGPL-2.1+
|
|
NSS_MDNS_LICENSE_FILES = LICENSE
|
|
NSS_MDNS_CONF_OPTS = --disable-tests
|
|
|
|
# add mdns4_minimal / mdns around the dns provider if missing
|
|
define NSS_MDNS_INSTALL_CONFIG
|
|
$(SED) '/^hosts:/ {/mdns4/! s/dns/mdns4_minimal [NOTFOUND=return] dns mdns4/}' \
|
|
$(TARGET_DIR)/etc/nsswitch.conf
|
|
endef
|
|
|
|
NSS_MDNS_TARGET_FINALIZE_HOOKS += NSS_MDNS_INSTALL_CONFIG
|
|
|
|
$(eval $(autotools-package))
|