summaryrefslogtreecommitdiff
path: root/package/fetchmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/fetchmail/Makefile')
-rw-r--r--package/fetchmail/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/package/fetchmail/Makefile b/package/fetchmail/Makefile
index c35add42e..ea569df1d 100644
--- a/package/fetchmail/Makefile
+++ b/package/fetchmail/Makefile
@@ -9,23 +9,26 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 72c20ad2b9629f1a109668b05a84d823
PKG_DESCR:= fetch mail from a POP, IMAP, ETRN, or ODMR-capable server
PKG_SECTION:= text
+ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
+PKG_DEPENDS:= libopenssl
+PKG_BUILDDEP+= openssl
+endif
PKG_URL:= http://fetchmail.berlios.de/
PKG_SITES:= http://download.berlios.de/fetchmail/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+PKG_FLAVOURS:= SSL
+PKGFD_SSL:= enable SSL support
-ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
-PKG_DEPENDS:= libopenssl
-endif
+include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FETCHMAIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --without-hesiod
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
CONFIGURE_ARGS+= --with-ssl='${STAGING_DIR}/usr'