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
:= e0288f59e326ab87cb3881fdabadafe542f4dc7ab9996db13863a439ebbc1f25
10 PKG_DESCR
:= minimal and secure imap server
11 PKG_SECTION
:= net
/mail
12 PKG_DEPENDS
:= libressl
13 PKG_BUILDDEP
:= libressl
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
/dovecot
49 $(INSTALL_DIR
) $(IDIR_DOVECOT
)/usr
/bin
50 $(INSTALL_DIR
) $(IDIR_DOVECOT
)/usr
/sbin
51 $(INSTALL_DIR
) $(IDIR_DOVECOT
)/usr
/libexec
/dovecot
52 $(INSTALL_DIR
) $(IDIR_DOVECOT
)/usr
/lib
/dovecot
/modules
53 $(CP
) $(WRKINST
)/usr
/share
/doc
/dovecot
/example-config
/* \
54 $(IDIR_DOVECOT
)/etc
/dovecot
55 $(CP
) $(WRKINST
)/usr
/lib
/dovecot
/*.so
* \
56 $(IDIR_DOVECOT
)/usr
/lib
/dovecot
/
57 $(CP
) $(WRKINST
)/usr
/lib
/dovecot
/modules
/*.so \
58 $(IDIR_DOVECOT
)/usr
/lib
/dovecot
/modules
/
59 $(CP
) $(WRKINST
)/usr
/libexec
/dovecot
/* \
60 $(IDIR_DOVECOT
)/usr
/libexec
/dovecot
/
61 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/dovecot
* \
62 $(IDIR_DOVECOT
)/usr
/sbin
63 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/* \
64 $(IDIR_DOVECOT
)/usr
/bin
66 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk