1
0

Makefile 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.28
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d0143a5aa3265019072e53ab497818d0
  8. PKG_DESCR:= mDNS daemon
  9. PKG_SECTION:= dhcp
  10. PKG_DEPENDS:= libavahi libdaemon libexpat libintl libgtk
  11. PKG_BUILDDEP:= libdaemon expat gdbm glib gettext gtk+
  12. PKG_URL:= http://avahi.org/
  13. PKG_SITES:= http://avahi.org/download/
  14. PKG_NEED_CXX:= 1
  15. PKG_SUBPKGS:= AVAHI_DAEMON AVAHI_DNSCONFD LIBAVAHI
  16. PKGSS_AVAHI_DNSCONFD:= libavahi libdaemon avahi-daemon
  17. PKGSD_AVAHI_DNSCONFD:= DNS server from mDNS configuration daemon
  18. PKGSD_LIBAVAHI:= DNS-SD over mDNS library
  19. PKGSC_LIBAVAHI:= libs
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_AVAHI_DNSCONFD},${PKGSD_AVAHI_DNSCONFD},${PKG_SECTION}))
  23. $(eval $(call PKG_template,LIBAVAHI,libavahi,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBAVAHI},${PKGSC_LIBAVAHI}))
  24. TARGET_LDFLAGS+= -lintl
  25. CONFIGURE_ARGS+= --enable-glib \
  26. --enable-gtk2 \
  27. --enable-libdaemon \
  28. --disable-qt3 \
  29. --disable-qt4 \
  30. --disable-gtk3 \
  31. --disable-dbus \
  32. --disable-python \
  33. --disable-pygtk \
  34. --disable-python-dbus \
  35. --disable-mono \
  36. --disable-monodoc \
  37. --disable-doxygen-doc \
  38. --disable-doxygen-dot \
  39. --disable-doxygen-man \
  40. --disable-doxygen-rtf \
  41. --disable-doxygen-xml \
  42. --disable-doxygen-chm \
  43. --disable-doxygen-chi \
  44. --disable-doxygen-html \
  45. --disable-doxygen-ps \
  46. --disable-doxygen-pdf \
  47. --disable-xmltoman \
  48. --with-distro=none \
  49. --with-avahi-user=avahi \
  50. --with-avahi-group=avahi
  51. avahi-daemon-install:
  52. ${INSTALL_DIR} ${IDIR_AVAHI_DAEMON}/etc/avahi
  53. ${INSTALL_DATA} ./files/avahi-daemon.conf \
  54. ${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 \
  62. ${IDIR_AVAHI_DAEMON}/usr/sbin
  63. avahi-dnsconfd-install:
  64. ${INSTALL_DIR} ${IDIR_AVAHI_DNSCONFD}/etc/avahi
  65. ${CP} ${WRKINST}/etc/avahi/avahi-dnsconfd.action \
  66. ${IDIR_AVAHI_DNSCONFD}/etc/avahi
  67. ${INSTALL_DIR} ${IDIR_AVAHI_DNSCONFD}/usr/sbin
  68. ${CP} ${WRKINST}/usr/sbin/avahi-dnsconfd \
  69. ${IDIR_AVAHI_DNSCONFD}/usr/sbin
  70. libavahi-install:
  71. ${INSTALL_DIR} ${IDIR_LIBAVAHI}/usr/lib
  72. ${CP} ${WRKINST}/usr/lib/libavahi-common.so* \
  73. ${IDIR_LIBAVAHI}/usr/lib
  74. ${CP} ${WRKINST}/usr/lib/libavahi-core.so* \
  75. ${IDIR_LIBAVAHI}/usr/lib
  76. include ${TOPDIR}/mk/pkg-bottom.mk