Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "SMTP client library" |
| 2 | DESCRIPTION = "LibESMTP is a library to manage posting \ |
| 3 | (or submission of) electronic mail using SMTP to a \ |
| 4 | preconfigured Mail Transport Agent (MTA) such as Exim or PostFix." |
| 5 | HOMEPAGE = "https://libesmtp.github.io/" |
| 6 | LICENSE = "LGPL-2.0-or-later" |
| 7 | SECTION = "libs" |
| 8 | |
| 9 | DEPENDS = "openssl" |
| 10 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 11 | SRC_URI = "git://github.com/libesmtp/libESMTP.git;branch=master;protocol=https \ |
| 12 | file://0001-Add-build-option-for-NTLM-support.patch" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 13 | SRCREV = "1d0af244310a66943ab400be56b15a9087f181eb" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742 \ |
| 18 | file://COPYING.GPL;md5=393a5ca445f6965873eca0259a17f833" |
| 19 | |
| 20 | inherit meson pkgconfig |
| 21 | |
| 22 | EXTRA_OEMESON = " \ |
| 23 | -Dpthreads=enabled \ |
| 24 | -Dtls=enabled \ |
| 25 | -Dxdg=false \ |
| 26 | -Dlwres=disabled \ |
| 27 | -Dbdat=true \ |
| 28 | -Detrn=true \ |
| 29 | -Dxusr=true \ |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 30 | -Dntlm=disabled \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 31 | " |
| 32 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 33 | CFLAGS += "-D_GNU_SOURCE" |
| 34 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 35 | do_configure:prepend:libc-glibc() { |
| 36 | sed -i -e "s/conf.set('HAVE_WORKING_STRERROR_R', 0)/conf.set('HAVE_WORKING_STRERROR_R', 1)/g" ${S}/meson.build |
| 37 | } |
| 38 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 39 | FILES:${PN} = "${libdir}/lib*${SOLIBS} \ |
| 40 | ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}" |