Makefile 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= avahi
  5. PKG_VERSION:= 0.6.25
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a83155a6e29e3988f07e5eea3287b21e
  8. PKG_DESCR:= mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) daemon
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libavahi libdaemon libexpat
  11. PKG_URL:= http://avahi.org
  12. PKG_SITES:= http://avahi.org/download/
  13. PKG_DEPENDS_1:= libavahi libdaemon avahi-daemon
  14. PKG_DESCR_1:= Unicast DNS server from mDNS/DNS-SD configuration daemon
  15. PKG_DESCR_2:= DNS-SD over mDNS (aka RendezVous/Bonjour/ZeroConf) library
  16. PKG_SECTION_2:= libs
  17. include ${TOPDIR}/mk/package.mk
  18. TLDFLAGS+= -lintl
  19. $(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
  21. $(eval $(call PKG_template,LIBAVAHI,libavahi,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR_2},${PKG_SECTION_2}))
  22. CONFIGURE_STYLE= gnu
  23. CONFIGURE_ARGS+= --enable-glib \
  24. --disable-qt3 \
  25. --disable-qt4 \
  26. --disable-gtk \
  27. --disable-dbus \
  28. --enable-libdaemon \
  29. --disable-python \
  30. --disable-pygtk \
  31. --disable-python-dbus \
  32. --disable-mono \
  33. --disable-monodoc \
  34. --disable-doxygen-doc \
  35. --disable-doxygen-dot \
  36. --disable-doxygen-man \
  37. --disable-doxygen-rtf \
  38. --disable-doxygen-xml \
  39. --disable-doxygen-chm \
  40. --disable-doxygen-chi \
  41. --disable-doxygen-html \
  42. --disable-doxygen-ps \
  43. --disable-doxygen-pdf \
  44. --disable-xmltoman \
  45. --with-distro=none \
  46. --with-avahi-user=avahi \
  47. --with-avahi-group=avahi
  48. BUILD_STYLE= auto
  49. INSTALL_STYLE= auto
  50. post-install:
  51. # avahi daemon
  52. ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/etc/avahi
  53. ${INSTALL_DATA} ./files/avahi-daemon.conf ${IDIR_AVAHI_DAEMON}/etc/avahi/
  54. ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/etc/avahi/services
  55. ${INSTALL_DATA} ./files/service-http \
  56. ${IDIR_AVAHI_DAEMON}/etc/avahi/services/http.service
  57. ${INSTALL_DATA} ./files/service-ssh \
  58. ${IDIR_AVAHI_DAEMON}/etc/avahi/services/ssh.service
  59. ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/usr/sbin
  60. ${CP} ${WRKINST}/usr/sbin/avahi-daemon ${IDIR_AVAHI_DAEMON}/usr/sbin/
  61. # avahi dnsconfd
  62. ${INSTALL_DIR} ${IDIR_AVAHI_DNSCONFD}/etc/avahi
  63. ${CP} ${WRKINST}/etc/avahi/avahi-dnsconfd.action \
  64. ${IDIR_AVAHI_DNSCONFD}/etc/avahi/
  65. ${INSTALL_DIR} ${IDIR_AVAHI_DNSCONFD}/usr/sbin
  66. ${CP} ${WRKINST}/usr/sbin/avahi-dnsconfd ${IDIR_AVAHI_DNSCONFD}/usr/sbin/
  67. # libavahi
  68. ${INSTALL_DIR} ${IDIR_LIBAVAHI}/usr/lib
  69. ${CP} ${WRKINST}/usr/lib/libavahi-common.so.* ${IDIR_LIBAVAHI}/usr/lib/
  70. ${CP} ${WRKINST}/usr/lib/libavahi-core.so.* ${IDIR_LIBAVAHI}/usr/lib/
  71. include ${TOPDIR}/mk/pkg-bottom.mk