blob: bb56a2e3472f54ea2165896dc8c1879feded6cbe [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "msmtp is an SMTP client"
2DESCRIPTION = "A sendmail replacement for use in MTAs like mutt"
3HOMEPAGE = "https://marlam.de/msmtp/"
4SECTION = "console/network"
5
6LICENSE = "GPLv3"
7DEPENDS = "zlib gnutls"
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
10
11UPSTREAM_CHECK_URI = "https://marlam.de/msmtp/download/"
12
13SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz"
Andrew Geissler95ac1b82021-03-31 14:34:31 -050014SRC_URI[sha256sum] = "2265dc639ebf2edf3069fffe0a3bd76749f8b58f4001d5cdeae19873949099ce"
Andrew Geissler82c905d2020-04-13 13:39:40 -050015
16inherit gettext autotools update-alternatives pkgconfig
17
18EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn"
19
Patrick Williams213cb262021-08-07 19:21:33 -050020ALTERNATIVE:${PN} = "sendmail"
Andrew Geissler82c905d2020-04-13 13:39:40 -050021# /usr/lib/sendmial is required by LSB core test
Patrick Williams213cb262021-08-07 19:21:33 -050022ALTERNATIVE:${PN}:linuxstdbase = "sendmail usr-lib-sendmail"
Andrew Geissler82c905d2020-04-13 13:39:40 -050023ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"
24ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
25ALTERNATIVE_TARGET[usr-lib-sendmail] = "${bindir}/msmtp"
26ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail"
27ALTERNATIVE_PRIORITY = "100"