blob: f3af7fe6671293d00dffab1a68b53736f7610a87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= fetchmail
PKG_VERSION:= 6.3.9
PKG_RELEASE:= 1
PKG_MD5SUM:= 72c20ad2b9629f1a109668b05a84d823
PKG_DESCR:= fetch mail from a POP or IMAP server
PKG_SECTION:= mail
PKG_URL:= http://fetchmail.berlios.de/
PKG_SITES:= http://download.berlios.de/fetchmail/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_FLAVOURS_FETCHMAIL:=WITH_SSL
PKGFD_WITH_SSL:= enable SSL support
PKGFS_WITH_SSL:= libopenssl
PKGFB_WITH_SSL:= openssl
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FETCHMAIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= --without-hesiod
ifeq (${ADK_PACKAGE_FETCHMAIL_WITH_SSL},y)
CONFIGURE_ARGS+= --with-ssl='${STAGING_TARGET_DIR}/usr'
else
CONFIGURE_ARGS+= --without-ssl
endif
post-install:
${INSTALL_DIR} ${IDIR_FETCHMAIL}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/fetchmail \
${IDIR_FETCHMAIL}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk
|