You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-construct/libs/mdnsresponder/Makefile

38 lines
1.2 KiB

GARNAME = mDNSResponder
GARVERSION = 107
CATEGORIES = libs
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = makefile.patch
MASTER_SITES = http://et.put.poznan.pl/~jstachow/pub/
DESCRIPTION = mdnsresponder
#CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/mDNSPosix/Makefile
BUILD_ARGS = os=linux
INSTALL_ENV = INSTBASE=$(prefix)
INSTALL_SCRIPTS = $(WORKSRC)/mDNSPosix/Makefile
INSTALL_ARGS = os=linux
include ../category.mk
ifdef HAVE_64BIT_TARGET
post-configure:
perl -pi -e '{s#/usr/lib/#/usr/lib64/#}' ./work/mDNSResponder-107/Clients/Makefile
perl -pi -e '{s/\$\(INSTBASE\)\/lib/\$\(INSTBASE\)\/lib64/}' ./work/mDNSResponder-107/mDNSPosix/Makefile
endif
post-install:
@echo
@echo "- = = = = = = = = == === ===== ATTENTION ==== === == = = = = = = = -"
@echo
@echo You should copy ${libdir}/libnss_mdns-0.2.so and
@echo ${libdir}/libnss_mdns.so.2 to /$(TARGET_LIBNAME) ,
@echo ${prefix}/etc/nsswitch.conf and
@echo ${prefix}/etc/nss_mdns.conf to /etc .
@echo
@echo This is necessary for ZeroConf support in KDE like zeroconf:/ ioslave, krfb,
@echo krdc and others. It also makes possible to use \'hostname.local\' names
@echo instead of IP numbers on LAN. Do not forget to start the mdnsd daemon.