blob: bdbb1daadd2155ff279b4a13bd5bf8eeec144aa8 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "msmtp is an SMTP client"
2DESCRIPTION = "A sendmail replacement for use in MTAs like mutt"
3HOMEPAGE = "https://marlam.de/msmtp/"
4SECTION = "console/network"
5
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006LICENSE = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00007DEPENDS = "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"
14SRC_URI[sha256sum] = "34a1e1981176874dbe4ee66ee0d9103c90989aa4dcdc4861e4de05ce7e44526b"
15
16inherit gettext autotools update-alternatives pkgconfig
17
18EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn"
19
20ALTERNATIVE:${PN} = "sendmail"
21# /usr/lib/sendmial is required by LSB core test
22ALTERNATIVE:${PN}:linuxstdbase = "sendmail usr-lib-sendmail"
23ALTERNATIVE_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"