summaryrefslogtreecommitdiffstats
path: root/package/msmtp/msmtp.mk
blob: 2c712293d3d0d91a8fb3247329f5b0b18318aca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#############################################################
#
# msmtp
#
#############################################################

MSMTP_VERSION = 1.4.27
MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION)
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2

MSMTP_DEPENDENCIES += host-pkg-config

ifeq ($(BR2_PACKAGE_OPENSSL),y)
MSMTP_CONF_OPT += --with-ssl=openssl
MSMTP_DEPENDENCIES += openssl
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

$(eval $(call AUTOTARGETS))