2014-03-14 23:21:33 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# fetchmail
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
FETCHMAIL_VERSION_MAJOR = 6.3
|
2014-03-17 09:06:41 +01:00
|
|
|
FETCHMAIL_VERSION = $(FETCHMAIL_VERSION_MAJOR).26
|
2014-03-14 23:21:33 +01:00
|
|
|
FETCHMAIL_SOURCE = fetchmail-$(FETCHMAIL_VERSION).tar.xz
|
2014-07-31 10:46:58 +02:00
|
|
|
FETCHMAIL_SITE = http://downloads.sourceforge.net/project/fetchmail/branch_$(FETCHMAIL_VERSION_MAJOR)
|
2017-03-30 15:43:32 +02:00
|
|
|
FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING
|
2014-03-14 23:21:33 +01:00
|
|
|
FETCHMAIL_LICENSE_FILES = COPYING
|
2014-07-27 09:45:28 +02:00
|
|
|
FETCHMAIL_AUTORECONF = YES
|
2014-07-27 17:44:37 +02:00
|
|
|
FETCHMAIL_GETTEXTIZE = YES
|
2014-07-27 09:45:28 +02:00
|
|
|
|
|
|
|
FETCHMAIL_CONF_ENV += LIBS="-lz"
|
2014-03-14 23:21:33 +01:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
FETCHMAIL_CONF_OPTS = \
|
2014-03-14 23:21:33 +01:00
|
|
|
--with-ssl=$(STAGING_DIR)/usr
|
|
|
|
|
|
|
|
FETCHMAIL_DEPENDENCIES = \
|
|
|
|
ca-certificates \
|
|
|
|
openssl \
|
|
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
|
|
|
|
2016-06-08 23:06:38 +02:00
|
|
|
# fetchmailconf.py script is not (yet) python3-compliant.
|
|
|
|
# Prevent the pyc-compilation with python-3 from failing by removing this
|
|
|
|
# non-critical script.
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
|
|
define FETCHMAIL_REMOVE_FETCHMAILCONF_PY
|
|
|
|
$(RM) -f $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/fetchmailconf.py
|
|
|
|
endef
|
2016-06-09 16:59:02 +02:00
|
|
|
FETCHMAIL_POST_INSTALL_TARGET_HOOKS += FETCHMAIL_REMOVE_FETCHMAILCONF_PY
|
2016-06-08 23:06:38 +02:00
|
|
|
endif
|
|
|
|
|
2014-03-14 23:21:33 +01:00
|
|
|
$(eval $(autotools-package))
|