Makefile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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:= dovecot
  5. PKG_VERSION:= 2.2.12
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 25395269fa2e0525e2d144d71d0450eb
  8. PKG_DESCR:= minimal and secure imap server
  9. PKG_BUILDDEP:= openssl
  10. PKG_DEPENDS:= libopenssl
  11. PKG_SECTION:= mail
  12. PKG_URL:= http://www.dovecot.org/
  13. PKG_SITES:= http://www.dovecot.org/releases/2.2/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DOVECOT,dovecot,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= RPCGEN='' \
  17. ignore_signed_size=1 \
  18. signed_size_t=no \
  19. gmtime_max_time_t=32 \
  20. fd_passing=yes \
  21. lib_cv_va_copy=yes \
  22. lib_cv___va_copy=yes \
  23. lib_cv_va_val_copy=yes \
  24. mmap_plays_with_write=yes \
  25. i_cv_gmtime_max_time_t=31 \
  26. i_cv_posix_fallocate_works=no \
  27. i_cv_epoll_works=yes \
  28. i_cv_signed_time_t=yes \
  29. i_cv_mmap_plays_with_write=yes \
  30. i_cv_signed_size_t=yes \
  31. i_cv_c99_vsnprintf=yes \
  32. i_cv_fd_passing=yes
  33. CONFIGURE_ARGS+= --with-notify=none \
  34. --without-gssapi \
  35. --without-pam \
  36. --with-ioloop=epoll \
  37. --with-moduledir=/usr/lib/dovecot/modules \
  38. --with-ssl=openssl
  39. dovecot-install:
  40. ${INSTALL_DIR} ${IDIR_DOVECOT}/etc
  41. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/sbin
  42. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/libexec/dovecot
  43. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/lib/dovecot/modules
  44. ${INSTALL_DATA} ./files/dovecot.conf ${IDIR_DOVECOT}/etc
  45. $(CP) ${WRKINST}/usr/lib/dovecot/modules/*.so \
  46. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/
  47. $(CP) ${WRKINST}/usr/libexec/dovecot/* \
  48. ${IDIR_DOVECOT}/usr/libexec/dovecot/
  49. $(INSTALL_BIN) ${WRKINST}/usr/sbin/dovecot* \
  50. ${IDIR_DOVECOT}/usr/sbin
  51. include ${TOPDIR}/mk/pkg-bottom.mk