hplip: needs dynamic library
[buildroot-gz.git] / package / fetchmail / fetchmail.mk
blob6aa0a2c918121e2270259695a954500290cf6603
1 ################################################################################
3 # fetchmail
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 = \
22 ca-certificates \
23 openssl \
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
32 endef
33 FETCHMAIL_POST_INSTALL_TARGET_HOOKS += FETCHMAIL_REMOVE_FETCHMAILCONF_PY
34 endif
36 $(eval $(autotools-package))