Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "msmtp is an SMTP client" |
| 2 | DESCRIPTION = "A sendmail replacement for use in MTAs like mutt" |
| 3 | HOMEPAGE = "https://marlam.de/msmtp/" |
| 4 | SECTION = "console/network" |
| 5 | |
| 6 | LICENSE = "GPL-3.0-only" |
| 7 | DEPENDS = "zlib gnutls" |
| 8 | |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 10 | |
| 11 | UPSTREAM_CHECK_URI = "https://marlam.de/msmtp/download/" |
| 12 | |
| 13 | SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz" |
| 14 | SRC_URI[sha256sum] = "d93ae2aafc0f48af7dc9d0b394df1bb800588b8b4e8d096d8b3cf225344eb111" |
| 15 | |
| 16 | inherit gettext autotools update-alternatives pkgconfig |
| 17 | |
| 18 | EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn" |
| 19 | |
| 20 | ALTERNATIVE:${PN} = "sendmail" |
| 21 | # /usr/lib/sendmial is required by LSB core test |
| 22 | ALTERNATIVE:${PN}:linuxstdbase = "sendmail usr-lib-sendmail" |
| 23 | ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp" |
| 24 | ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" |
| 25 | ALTERNATIVE_TARGET[usr-lib-sendmail] = "${bindir}/msmtp" |
| 26 | ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail" |
| 27 | ALTERNATIVE_PRIORITY = "100" |