Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [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 = "GPLv3" |
| 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" |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame^] | 14 | SRC_URI[md5sum] = "adff4a9992e1b47aa5468b974550304e" |
| 15 | SRC_URI[sha256sum] = "6625f147430c65ba8527f52c4fe5d4d33552d3c0fb6d793ba7df819a3b3042e1" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 16 | |
| 17 | inherit gettext autotools update-alternatives pkgconfig |
| 18 | |
| 19 | EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn" |
| 20 | |
| 21 | ALTERNATIVE_${PN} = "sendmail" |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 22 | # /usr/lib/sendmial is required by LSB core test |
| 23 | ALTERNATIVE_${PN}_linuxstdbase = "sendmail usr-lib-sendmail" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 24 | ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp" |
| 25 | ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 26 | ALTERNATIVE_TARGET[usr-lib-sendmail] = "${bindir}/msmtp" |
| 27 | ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 28 | ALTERNATIVE_PRIORITY = "100" |