summaryrefslogtreecommitdiff
path: root/packages/libetpan
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-09-07 13:27:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-07 13:27:03 +0000
commit484ef33ff2fc930b94bc3814d53aa93ba25c0648 (patch)
tree28324d2ec63b0fc12c0746345130305361de596b /packages/libetpan
parentb2b07632deb335b1bcbd9e13f476202d2ca8f62f (diff)
added libetpan 0.38 - based on patch supplied by Frederic Devernay
- this version can be build with GNU TLS so I switched to it - another package does not need OpenSSL - closes bug #304
Diffstat (limited to 'packages/libetpan')
-rw-r--r--packages/libetpan/libetpan-0.38/.mtn2git_empty0
-rw-r--r--packages/libetpan/libetpan-0.38/etpan_suffix.patch16
-rw-r--r--packages/libetpan/libetpan_0.38.bb19
3 files changed, 35 insertions, 0 deletions
diff --git a/packages/libetpan/libetpan-0.38/.mtn2git_empty b/packages/libetpan/libetpan-0.38/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libetpan/libetpan-0.38/.mtn2git_empty
diff --git a/packages/libetpan/libetpan-0.38/etpan_suffix.patch b/packages/libetpan/libetpan-0.38/etpan_suffix.patch
new file mode 100644
index 0000000000..901615c416
--- /dev/null
+++ b/packages/libetpan/libetpan-0.38/etpan_suffix.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libetpan/configure.in~etpan_suffix
++++ libetpan/configure.in
+@@ -371,7 +371,7 @@
+ REENTRANT=1
+ else
+ REENTRANT=0
+- LIBSUFFIX=-no-mt
++ LIBSUFFIX=
+ fi
+ AC_SUBST(LIBSUFFIX)
+ AC_SUBST(REENTRANT)
diff --git a/packages/libetpan/libetpan_0.38.bb b/packages/libetpan/libetpan_0.38.bb
new file mode 100644
index 0000000000..9dcb318b0c
--- /dev/null
+++ b/packages/libetpan/libetpan_0.38.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "libetpan is a library for communicating with mail and news servers using \
+SMTP, POP, IMAP and NNTP"
+SECTION = "libs"
+DEPENDS = "gnutls"
+LICENSE = "BSD"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
+ file://etpan_suffix.patch;patch=1 "
+
+inherit autotools pkgconfig gettext
+
+EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db --disable-threads"
+
+do_stage () {
+ oe_runmake install includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} bindir=${STAGING_BINDIR}
+}
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig"