2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-17 07:46:57 +02:00
|
|
|
#
|
|
|
|
# msmtp
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-17 07:46:57 +02:00
|
|
|
|
2013-05-07 13:29:21 +02:00
|
|
|
MSMTP_VERSION = 1.4.31
|
2012-04-17 07:46:57 +02:00
|
|
|
MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION)
|
|
|
|
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2
|
2013-05-07 13:29:21 +02:00
|
|
|
MSMTP_LICENSE = GPLv3+
|
|
|
|
MSMTP_LICENSE_FILES = COPYING
|
2012-04-17 07:46:57 +02:00
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
MSMTP_DEPENDENCIES += host-pkgconf
|
2012-04-17 07:46:57 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
MSMTP_CONF_OPT += --with-ssl=openssl
|
|
|
|
MSMTP_DEPENDENCIES += openssl
|
2012-07-01 23:59:44 +02:00
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
|
# openssl uses zlib, so we need to explicitly link with it when static
|
|
|
|
MSMTP_CONF_ENV += LIBS=-lz
|
|
|
|
endif
|
2012-04-17 07:46:57 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
MSMTP_CONF_OPT += --with-ssl=gnutls
|
|
|
|
MSMTP_DEPENDENCIES += gnutls
|
|
|
|
else
|
|
|
|
MSMTP_CONF_OPT += --with-ssl=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
MSMTP_CONF_OPT += \
|
|
|
|
--without-libidn \
|
|
|
|
--without-libgsasl \
|
|
|
|
--without-gnome-keyring
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|