Makefile 2.8 KB

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