Makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= dovecot
  7. PKG_VERSION:= 1.1.14
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 60b1deccc0ae77e5669060d2b1894e5e
  10. MASTER_SITES:= http://www.dovecot.org/releases/1.1/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,DOVECOT,dovecot,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ENV+= ignore_signed_size=1 \
  15. have_rquota=no \
  16. signed_size_t=no \
  17. gmtime_max_time_t=32 \
  18. fd_passing=yes \
  19. lib_cv_va_copy=yes \
  20. lib_cv___va_copy=yes \
  21. lib_cv_va_val_copy=yes \
  22. mmap_plays_with_write=yes \
  23. i_cv_gmtime_max_time_t=31 \
  24. i_cv_posix_fallocate_works=no \
  25. i_cv_epoll_works=yes \
  26. i_cv_signed_time_t=yes \
  27. i_cv_mmap_plays_with_write=yes \
  28. i_cv_signed_size_t=yes \
  29. i_cv_c99_vsnprintf=yes \
  30. i_cv_fd_passing=yes
  31. CONFIGURE_ARGS+= --with-notify=none \
  32. --without-gssapi \
  33. --without-pam \
  34. --with-ioloop=epoll \
  35. --with-ssl \
  36. --with-moduledir=/usr/lib/dovecot/modules
  37. BUILD_STYLE:= auto
  38. INSTALL_STYLE:= auto
  39. post-install:
  40. ${INSTALL_DIR} ${IDIR_DOVECOT}/etc
  41. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/sbin/dovecot
  42. ${INSTALL_DATA} ./files/dovecot.conf ${IDIR_DOVECOT}/etc
  43. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/lib/dovecot/modules/{imap,lda,pop3}
  44. $(CP) ${WRKINST}/usr/lib/dovecot/modules/*.so \
  45. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/
  46. $(CP) ${WRKINST}/usr/lib/dovecot/modules/imap/*.so \
  47. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/imap/
  48. $(CP) ${WRKINST}/usr/lib/dovecot/modules/lda/*.so \
  49. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/lda/
  50. $(CP) ${WRKINST}/usr/lib/dovecot/modules/pop3/*.so \
  51. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/pop3/
  52. $(CP) ${WRKINST}/usr/sbin/dovecot/* \
  53. ${IDIR_DOVECOT}/usr/sbin/dovecot/
  54. include ${TOPDIR}/mk/pkg-bottom.mk