kumquat-buildroot/package/msmtp/msmtp.mk
Gustavo Zacarias 367fc6fed2 msmtp: bump to version 1.4.32
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-11 23:02:57 +01:00

35 lines
916 B
Makefile

################################################################################
#
# msmtp
#
################################################################################
MSMTP_VERSION = 1.4.32
MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION)
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2
MSMTP_LICENSE = GPLv3+
MSMTP_LICENSE_FILES = COPYING
MSMTP_DEPENDENCIES += host-pkgconf
ifeq ($(BR2_PACKAGE_OPENSSL),y)
MSMTP_CONF_OPT += --with-ssl=openssl
MSMTP_DEPENDENCIES += openssl
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
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 $(autotools-package))