2012-09-30 11:40:53 +00:00
|
|
|
# Template file for 'msmtp'
|
|
|
|
pkgname=msmtp
|
2014-03-18 05:19:46 +00:00
|
|
|
version=1.4.32
|
2014-06-08 10:15:44 +00:00
|
|
|
revision=2
|
2012-09-30 11:40:53 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-19 14:55:16 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-03-18 05:19:46 +00:00
|
|
|
short_desc="A mini SMTP client"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-30 11:40:53 +00:00
|
|
|
homepage="http://msmtp.sourceforge.net"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2014-03-18 05:19:46 +00:00
|
|
|
checksum=2bf0c5c7e78f9905f48de235a75111a1a88238793043bbeae00360b22f1a5f88
|
2013-04-14 02:24:51 +00:00
|
|
|
|
2013-04-19 14:55:16 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="openssl gnutls idn sasl gnome"
|
|
|
|
build_options_default="openssl idn"
|
|
|
|
|
|
|
|
if [ "$build_option_openssl" ]; then
|
|
|
|
configure_args+=" --with-ssl=openssl"
|
|
|
|
makedepends+=" openssl-devel"
|
|
|
|
elif [ "$build_option_gnutls" ]; then
|
|
|
|
configure_args+=" --with-ssl=gnutls"
|
|
|
|
makedepends+=" gnutls-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --with-ssl=no"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_idn" ]; then
|
|
|
|
configure_args+=" --with-libidn"
|
|
|
|
makedepends+=" libidn-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-libidn"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_sasl" ]; then
|
|
|
|
configure_args+=" --with-libgsasl"
|
|
|
|
makedepends+=" gsasl-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-libgsasl"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gnome" ]; then
|
|
|
|
configure_args+=" --with-gnome-keyring"
|
|
|
|
makedepends+=" libgnome-keyring-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-gnome-keyring"
|
|
|
|
fi
|