summaryrefslogtreecommitdiff
path: root/packages/libesmtp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libesmtp')
-rw-r--r--packages/libesmtp/libesmtp_1.0.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/libesmtp/libesmtp_1.0.1.bb b/packages/libesmtp/libesmtp_1.0.1.bb
index e69de29bb2..fe6d958f1b 100644
--- a/packages/libesmtp/libesmtp_1.0.1.bb
+++ b/packages/libesmtp/libesmtp_1.0.1.bb
@@ -0,0 +1,22 @@
+SECTION = "libs"
+DEPENDS = "openssl"
+DESCRIPTION = "LibESMTP is a library to manage posting \
+(or submission of) electronic mail using SMTP to a \
+preconfigured Mail Transport Agent (MTA) such as Exim."
+FILES_libesmtp_append = " ${libdir}/esmtp-plugins"
+
+SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2 \
+ file://configure.patch;patch=1"
+LICENSE = "LGPL GPL"
+inherit autotools
+
+EXTRA_OECONF = "--disable-isoc --with-openssl=${STAGING_LIBDIR}/.."
+
+do_stage () {
+ oe_libinstall -a -so libesmtp ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}
+ install -m 644 auth-client.h ${STAGING_INCDIR}
+ install -m 644 auth-plugin.h ${STAGING_INCDIR}
+ install -m 644 libesmtp.h ${STAGING_INCDIR}
+}