aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
630 B
Makefile
21 lines
630 B
Makefile
################################################################################
|
|
#
|
|
# nss-mdns
|
|
#
|
|
################################################################################
|
|
|
|
NSS_MDNS_VERSION = 0.10
|
|
NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns
|
|
NSS_MDNS_CONF_OPTS = --localstatedir=/var
|
|
NSS_MDNS_LICENSE = LGPLv2.1+
|
|
NSS_MDNS_LICENSE_FILES = LICENSE
|
|
|
|
define NSS_MDNS_INSTALL_CONFIG
|
|
sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
|
|
$(TARGET_DIR)/etc/nsswitch.conf
|
|
endef
|
|
|
|
NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG
|
|
|
|
$(eval $(autotools-package))
|