Makefile 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= dovecot
  5. PKG_VERSION:= 2.4.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 670f98d55a29b02ae6a97281e51374e553b94496480ab0a07439571ab30ca8c3
  8. PKG_DESCR:= minimal and secure imap server
  9. PKG_SECTION:= net/mail
  10. PKG_DEPENDS:= libopenssl
  11. PKG_KDEPENDS:= inotify-user
  12. PKG_BUILDDEP:= openssl
  13. PKG_NEEDS:= iconv
  14. PKG_URL:= http://www.dovecot.org/
  15. PKG_SITES:= http://www.dovecot.org/releases/2.4/
  16. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,DOVECOT,dovecot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  19. CONFIGURE_ENV+= RPCGEN='' \
  20. ac_cv_func_malloc_usable_size=no \
  21. ignore_signed_size=1 \
  22. signed_size_t=no \
  23. gmtime_max_time_t=32 \
  24. fd_passing=yes \
  25. lib_cv_va_copy=yes \
  26. lib_cv___va_copy=yes \
  27. lib_cv_va_val_copy=yes \
  28. mmap_plays_with_write=yes \
  29. i_cv_gmtime_max_time_t=31 \
  30. i_cv_posix_fallocate_works=no \
  31. i_cv_epoll_works=yes \
  32. i_cv_signed_time_t=yes \
  33. i_cv_mmap_plays_with_write=yes \
  34. i_cv_signed_size_t=yes \
  35. i_cv_c99_vsnprintf=yes \
  36. i_cv_fd_passing=yes
  37. CONFIGURE_ARGS+= --with-notify=inotify \
  38. --enable-hardening=no \
  39. --without-gssapi \
  40. --without-pam \
  41. --with-lua=no \
  42. --with-ioloop=epoll \
  43. --with-moduledir=/usr/lib/dovecot/modules \
  44. --with-ssl=openssl
  45. dovecot-install:
  46. $(INSTALL_DIR) $(IDIR_DOVECOT)/etc/dovecot
  47. $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/bin
  48. $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/sbin
  49. $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/libexec/dovecot
  50. $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/lib/dovecot/modules
  51. $(CP) $(WRKINST)/etc/dovecot/dovecot.conf \
  52. $(IDIR_DOVECOT)/etc/dovecot
  53. $(CP) $(WRKINST)/usr/lib/dovecot/*.so* \
  54. $(IDIR_DOVECOT)/usr/lib/dovecot/
  55. $(CP) $(WRKINST)/usr/lib/dovecot/modules/*.so \
  56. $(IDIR_DOVECOT)/usr/lib/dovecot/modules/
  57. $(CP) $(WRKINST)/usr/libexec/dovecot/* \
  58. $(IDIR_DOVECOT)/usr/libexec/dovecot/
  59. $(INSTALL_BIN) $(WRKINST)/usr/sbin/dovecot* \
  60. $(IDIR_DOVECOT)/usr/sbin
  61. $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
  62. $(IDIR_DOVECOT)/usr/bin
  63. include $(ADK_TOPDIR)/mk/pkg-bottom.mk