blob: 164c8c26121167c4ca3b220dcd8e8b42b6e90eff [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "SMTP client library"
2DESCRIPTION = "LibESMTP is a library to manage posting \
3(or submission of) electronic mail using SMTP to a \
4preconfigured Mail Transport Agent (MTA) such as Exim or PostFix."
5HOMEPAGE = "https://libesmtp.github.io/"
6LICENSE = "LGPL-2.0-or-later"
7SECTION = "libs"
8
9DEPENDS = "openssl"
10
Patrick Williams03907ee2022-05-01 06:28:52 -050011SRC_URI = "git://github.com/libesmtp/libESMTP.git;branch=master;protocol=https \
12 file://0001-Add-build-option-for-NTLM-support.patch"
Andrew Geissler9aee5002022-03-30 16:27:02 +000013SRCREV = "1d0af244310a66943ab400be56b15a9087f181eb"
14
15S = "${WORKDIR}/git"
16
17LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742 \
18 file://COPYING.GPL;md5=393a5ca445f6965873eca0259a17f833"
19
20inherit meson pkgconfig
21
22EXTRA_OEMESON = " \
23 -Dpthreads=enabled \
24 -Dtls=enabled \
25 -Dxdg=false \
26 -Dlwres=disabled \
27 -Dbdat=true \
28 -Detrn=true \
29 -Dxusr=true \
Patrick Williams03907ee2022-05-01 06:28:52 -050030 -Dntlm=disabled \
Andrew Geissler9aee5002022-03-30 16:27:02 +000031"
32
Patrick Williams92b42cb2022-09-03 06:53:57 -050033CFLAGS += "-D_GNU_SOURCE"
34
Andrew Geissler9aee5002022-03-30 16:27:02 +000035FILES:${PN} = "${libdir}/lib*${SOLIBS} \
36 ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}"