Makefile 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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:= 1.1.14
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 60b1deccc0ae77e5669060d2b1894e5e
  8. PKG_DESCR:= A minimal and secure imap server
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.dovecot.org
  11. PKG_SITES:= http://www.dovecot.org/releases/1.1/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,DOVECOT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ENV+= ignore_signed_size=1 \
  16. have_rquota=no \
  17. signed_size_t=no \
  18. gmtime_max_time_t=32 \
  19. fd_passing=yes \
  20. lib_cv_va_copy=yes \
  21. lib_cv___va_copy=yes \
  22. lib_cv_va_val_copy=yes \
  23. mmap_plays_with_write=yes \
  24. i_cv_gmtime_max_time_t=31 \
  25. i_cv_posix_fallocate_works=no \
  26. i_cv_epoll_works=yes \
  27. i_cv_signed_time_t=yes \
  28. i_cv_mmap_plays_with_write=yes \
  29. i_cv_signed_size_t=yes \
  30. i_cv_c99_vsnprintf=yes \
  31. i_cv_fd_passing=yes
  32. CONFIGURE_ARGS+= --with-notify=none \
  33. --without-gssapi \
  34. --without-pam \
  35. --with-ioloop=epoll \
  36. --with-ssl \
  37. --with-moduledir=/usr/lib/dovecot/modules
  38. BUILD_STYLE:= auto
  39. INSTALL_STYLE:= auto
  40. post-install:
  41. ${INSTALL_DIR} ${IDIR_DOVECOT}/etc
  42. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/sbin/dovecot
  43. ${INSTALL_DATA} ./files/dovecot.conf ${IDIR_DOVECOT}/etc
  44. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/lib/dovecot/modules/{imap,lda,pop3}
  45. $(CP) ${WRKINST}/usr/lib/dovecot/modules/*.so \
  46. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/
  47. $(CP) ${WRKINST}/usr/lib/dovecot/modules/imap/*.so \
  48. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/imap/
  49. $(CP) ${WRKINST}/usr/lib/dovecot/modules/lda/*.so \
  50. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/lda/
  51. $(CP) ${WRKINST}/usr/lib/dovecot/modules/pop3/*.so \
  52. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/pop3/
  53. $(CP) ${WRKINST}/usr/sbin/dovecot/* \
  54. ${IDIR_DOVECOT}/usr/sbin/dovecot/
  55. include ${TOPDIR}/mk/pkg-bottom.mk