Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. PKG_DESCR:= A minimal and secure imap server
  11. PKG_SECTION:= net
  12. PKG_URL:= http://www.dovecot.org
  13. PKG_SITES:= http://www.dovecot.org/releases/1.1/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DOVECOT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= ignore_signed_size=1 \
  18. have_rquota=no \
  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-ssl \
  39. --with-moduledir=/usr/lib/dovecot/modules
  40. BUILD_STYLE:= auto
  41. INSTALL_STYLE:= auto
  42. post-install:
  43. ${INSTALL_DIR} ${IDIR_DOVECOT}/etc
  44. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/sbin/dovecot
  45. ${INSTALL_DATA} ./files/dovecot.conf ${IDIR_DOVECOT}/etc
  46. ${INSTALL_DIR} ${IDIR_DOVECOT}/usr/lib/dovecot/modules/{imap,lda,pop3}
  47. $(CP) ${WRKINST}/usr/lib/dovecot/modules/*.so \
  48. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/
  49. $(CP) ${WRKINST}/usr/lib/dovecot/modules/imap/*.so \
  50. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/imap/
  51. $(CP) ${WRKINST}/usr/lib/dovecot/modules/lda/*.so \
  52. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/lda/
  53. $(CP) ${WRKINST}/usr/lib/dovecot/modules/pop3/*.so \
  54. ${IDIR_DOVECOT}/usr/lib/dovecot/modules/pop3/
  55. $(CP) ${WRKINST}/usr/sbin/dovecot/* \
  56. ${IDIR_DOVECOT}/usr/sbin/dovecot/
  57. include ${TOPDIR}/mk/pkg-bottom.mk