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
|
|
|
|
2015-01-06 11:35:10 +01:00
|
|
|
MSMTP_VERSION = 1.6.1
|
2012-04-17 07:46:57 +02:00
|
|
|
MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION)
|
2015-01-02 23:45:07 +01:00
|
|
|
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz
|
|
|
|
MSMTP_DEPENDENCIES = host-pkgconf
|
|
|
|
MSMTP_CONF_OPTS = \
|
|
|
|
--without-libidn \
|
|
|
|
--without-libgsasl
|
2013-05-07 13:29:21 +02:00
|
|
|
MSMTP_LICENSE = GPLv3+
|
|
|
|
MSMTP_LICENSE_FILES = COPYING
|
2012-04-17 07:46:57 +02:00
|
|
|
|
2015-01-02 23:45:07 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
|
|
|
MSMTP_CONF_OPTS += --with-libsecret
|
|
|
|
MSMTP_DEPENDENCIES += libsecret
|
|
|
|
else
|
|
|
|
MSMTP_CONF_OPTS += --without-libsecret
|
|
|
|
endif
|
2012-04-17 07:46:57 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
MSMTP_CONF_OPTS += --with-ssl=openssl
|
2012-04-17 07:46:57 +02:00
|
|
|
MSMTP_DEPENDENCIES += openssl
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2012-07-01 23:59:44 +02:00
|
|
|
# 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)
|
2014-09-27 21:32:44 +02:00
|
|
|
MSMTP_CONF_OPTS += --with-ssl=gnutls
|
2012-04-17 07:46:57 +02:00
|
|
|
MSMTP_DEPENDENCIES += gnutls
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
MSMTP_CONF_OPTS += --with-ssl=no
|
2012-04-17 07:46:57 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|