1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= avahi
- PKG_VERSION:= 0.6.28
- PKG_RELEASE:= 1
- PKG_MD5SUM:= d0143a5aa3265019072e53ab497818d0
- PKG_DESCR:= mDNS daemon
- PKG_SECTION:= dhcp
- PKG_DEPENDS:= libavahi libdaemon libexpat libintl libgtk
- PKG_BUILDDEP:= libdaemon expat gdbm glib gettext gtk+
- PKG_URL:= http://avahi.org/
- PKG_SITES:= http://avahi.org/download/
- PKG_NEED_CXX:= 1
- PKG_SUBPKGS:= AVAHI_DAEMON AVAHI_DNSCONFD LIBAVAHI
- PKGSS_AVAHI_DNSCONFD:= libavahi libdaemon avahi-daemon
- PKGSD_AVAHI_DNSCONFD:= DNS server from mDNS configuration daemon
- PKGSD_LIBAVAHI:= DNS-SD over mDNS library
- PKGSC_LIBAVAHI:= libs
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_AVAHI_DNSCONFD},${PKGSD_AVAHI_DNSCONFD},${PKG_SECTION}))
- $(eval $(call PKG_template,LIBAVAHI,libavahi,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBAVAHI},${PKGSC_LIBAVAHI}))
- TARGET_LDFLAGS+= -lintl
- CONFIGURE_ARGS+= --enable-glib \
- --enable-gtk2 \
- --enable-libdaemon \
- --disable-qt3 \
- --disable-qt4 \
- --disable-gtk3 \
- --disable-dbus \
- --disable-python \
- --disable-pygtk \
- --disable-python-dbus \
- --disable-mono \
- --disable-monodoc \
- --disable-doxygen-doc \
- --disable-doxygen-dot \
- --disable-doxygen-man \
- --disable-doxygen-rtf \
- --disable-doxygen-xml \
- --disable-doxygen-chm \
- --disable-doxygen-chi \
- --disable-doxygen-html \
- --disable-doxygen-ps \
- --disable-doxygen-pdf \
- --disable-xmltoman \
- --with-distro=none \
- --with-avahi-user=avahi \
- --with-avahi-group=avahi
- avahi-daemon-install:
- ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/etc/avahi
- ${INSTALL_DATA} ./files/avahi-daemon.conf \
- ${IDIR_AVAHI_DAEMON}/etc/avahi
- ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/etc/avahi/services
- ${INSTALL_DATA} ./files/service-http \
- ${IDIR_AVAHI_DAEMON}/etc/avahi/services/http.service
- ${INSTALL_DATA} ./files/service-ssh \
- ${IDIR_AVAHI_DAEMON}/etc/avahi/services/ssh.service
- ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/avahi-daemon \
- ${IDIR_AVAHI_DAEMON}/usr/sbin
- avahi-dnsconfd-install:
- ${INSTALL_DIR} ${IDIR_AVAHI_DNSCONFD}/etc/avahi
- ${CP} ${WRKINST}/etc/avahi/avahi-dnsconfd.action \
- ${IDIR_AVAHI_DNSCONFD}/etc/avahi
- ${INSTALL_DIR} ${IDIR_AVAHI_DNSCONFD}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/avahi-dnsconfd \
- ${IDIR_AVAHI_DNSCONFD}/usr/sbin
- libavahi-install:
- ${INSTALL_DIR} ${IDIR_LIBAVAHI}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libavahi-common.so* \
- ${IDIR_LIBAVAHI}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libavahi-core.so* \
- ${IDIR_LIBAVAHI}/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|