1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= f3de1cae5665ff202713c1489bc96b4d029760808bf3311d76c173d7f3e38c56
10 PKG_DESCR
:= minimal and secure imap server
11 PKG_BUILDDEP
:= openssl
12 PKG_DEPENDS
:= libopenssl
13 PKG_SECTION
:= net
/mail
14 PKG_URL
:= http
://www.dovecot.org
/
15 PKG_SITES
:= http
://www.dovecot.org
/releases
/2.2/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 include ${ADK_TOPDIR}/mk
/package.mk
21 $(eval
$(call PKG_template
,DOVECOT
,dovecot
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 CONFIGURE_ENV
+= RPCGEN
='' \
24 ignore_signed_size
=1 \
26 gmtime_max_time_t
=32 \
29 lib_cv___va_copy
=yes \
30 lib_cv_va_val_copy
=yes \
31 mmap_plays_with_write
=yes \
32 i_cv_gmtime_max_time_t
=31 \
33 i_cv_posix_fallocate_works
=no \
34 i_cv_epoll_works
=yes \
35 i_cv_signed_time_t
=yes \
36 i_cv_mmap_plays_with_write
=yes \
37 i_cv_signed_size_t
=yes \
38 i_cv_c99_vsnprintf
=yes \
40 CONFIGURE_ARGS
+= --with-notify
=none \
44 --with-moduledir
=/usr
/lib
/dovecot
/modules \
48 ${INSTALL_DIR} ${IDIR_DOVECOT}/etc
49 ${INSTALL_DIR} ${IDIR_DOVECOT}/usr
/sbin
50 ${INSTALL_DIR} ${IDIR_DOVECOT}/usr
/libexec
/dovecot
51 ${INSTALL_DIR} ${IDIR_DOVECOT}/usr
/lib
/dovecot
/modules
52 ${INSTALL_DATA} .
/files
/dovecot.conf
${IDIR_DOVECOT}/etc
53 $(CP
) ${WRKINST}/usr
/lib
/dovecot
/modules
/*.so \
54 ${IDIR_DOVECOT}/usr
/lib
/dovecot
/modules
/
55 $(CP
) ${WRKINST}/usr
/libexec
/dovecot
/* \
56 ${IDIR_DOVECOT}/usr
/libexec
/dovecot
/
57 $(INSTALL_BIN
) ${WRKINST}/usr
/sbin
/dovecot
* \
58 ${IDIR_DOVECOT}/usr
/sbin
60 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk