1 ################################################################################
5 ################################################################################
8 MSMTP_SITE
= http
://downloads.sourceforge.net
/project
/msmtp
/msmtp
/$(MSMTP_VERSION
)
9 MSMTP_SOURCE
= msmtp-
$(MSMTP_VERSION
).
tar.xz
10 MSMTP_DEPENDENCIES
= host-pkgconf
15 MSMTP_LICENSE
= GPLv3
+
16 MSMTP_LICENSE_FILES
= COPYING
18 ifeq ($(BR2_PACKAGE_LIBSECRET
),y
)
19 MSMTP_CONF_OPTS
+= --with-libsecret
20 MSMTP_DEPENDENCIES
+= libsecret
22 MSMTP_CONF_OPTS
+= --without-libsecret
25 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
26 MSMTP_CONF_OPTS
+= --with-ssl
=openssl
27 MSMTP_DEPENDENCIES
+= openssl
28 ifeq ($(BR2_STATIC_LIBS
),y
)
29 # openssl uses zlib, so we need to explicitly link with it when static
30 MSMTP_CONF_ENV
+= LIBS
=-lz
32 else ifeq ($(BR2_PACKAGE_GNUTLS
),y
)
33 MSMTP_CONF_OPTS
+= --with-ssl
=gnutls
34 MSMTP_DEPENDENCIES
+= gnutls
36 MSMTP_CONF_OPTS
+= --with-ssl
=no
39 $(eval
$(autotools-package
))