Makefile 2.1 KB

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