1 ################################################################################
5 ################################################################################
7 FETCHMAIL_VERSION_MAJOR
= 6.3
8 FETCHMAIL_VERSION
= $(FETCHMAIL_VERSION_MAJOR
).26
9 FETCHMAIL_SOURCE
= fetchmail-
$(FETCHMAIL_VERSION
).
tar.xz
10 FETCHMAIL_SITE
= http
://downloads.sourceforge.net
/project
/fetchmail
/branch_
$(FETCHMAIL_VERSION_MAJOR
)
11 FETCHMAIL_LICENSE
= GPLv2
; some exceptions are mentioned in COPYING
12 FETCHMAIL_LICENSE_FILES
= COPYING
13 FETCHMAIL_AUTORECONF
= YES
14 FETCHMAIL_GETTEXTIZE
= YES
16 FETCHMAIL_CONF_ENV
+= LIBS
="-lz"
18 FETCHMAIL_CONF_OPTS
= \
19 --with-ssl
=$(STAGING_DIR
)/usr
21 FETCHMAIL_DEPENDENCIES
= \
24 $(if
$(BR2_NEEDS_GETTEXT_IF_LOCALE
),gettext
)
26 # fetchmailconf.py script is not (yet) python3-compliant.
27 # Prevent the pyc-compilation with python-3 from failing by removing this
28 # non-critical script.
29 ifeq ($(BR2_PACKAGE_PYTHON3
),y
)
30 define FETCHMAIL_REMOVE_FETCHMAILCONF_PY
31 $(RM
) -f
$(TARGET_DIR
)/usr
/lib
/python
$(PYTHON3_VERSION_MAJOR
)/site-packages
/fetchmailconf.py
33 FETCHMAIL_POST_INSTALL_TARGET_HOOKS
+= FETCHMAIL_REMOVE_FETCHMAILCONF_PY
36 $(eval
$(autotools-package
))