summaryrefslogtreecommitdiff
path: root/packages/libgmime
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/libgmime
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/libgmime')
-rw-r--r--packages/libgmime/.mtn2git_empty0
-rw-r--r--packages/libgmime/libgmime/.mtn2git_empty0
-rw-r--r--packages/libgmime/libgmime/configure-ldflags-cross.patch11
-rw-r--r--packages/libgmime/libgmime/skip-iconv-detect.patch17
-rw-r--r--packages/libgmime/libgmime_2.1.7.bb23
5 files changed, 51 insertions, 0 deletions
diff --git a/packages/libgmime/.mtn2git_empty b/packages/libgmime/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libgmime/.mtn2git_empty
diff --git a/packages/libgmime/libgmime/.mtn2git_empty b/packages/libgmime/libgmime/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libgmime/libgmime/.mtn2git_empty
diff --git a/packages/libgmime/libgmime/configure-ldflags-cross.patch b/packages/libgmime/libgmime/configure-ldflags-cross.patch
index e69de29bb2..61458dedf6 100644
--- a/packages/libgmime/libgmime/configure-ldflags-cross.patch
+++ b/packages/libgmime/libgmime/configure-ldflags-cross.patch
@@ -0,0 +1,11 @@
+--- gmime-2.1.7/configure.in~ 2004-07-29 16:14:01.000000000 +0100
++++ gmime-2.1.7/configure.in 2004-07-29 16:35:07.000000000 +0100
+@@ -47,7 +47,7 @@
+
+ AM_MAINTAINER_MODE
+
+-LDFLAGS=${_ldflags}
++#LDFLAGS=${_ldflags}
+
+ dnl Checks for header files.
+ AC_CHECK_HEADERS(sys/mman.h)
diff --git a/packages/libgmime/libgmime/skip-iconv-detect.patch b/packages/libgmime/libgmime/skip-iconv-detect.patch
index e69de29bb2..ed2b277a56 100644
--- a/packages/libgmime/libgmime/skip-iconv-detect.patch
+++ b/packages/libgmime/libgmime/skip-iconv-detect.patch
@@ -0,0 +1,17 @@
+--- gmime-2.1.7/configure.in.orig 2004-07-05 20:17:32.000000000 +0100
++++ gmime-2.1.7/configure.in 2004-07-22 12:58:26.000000000 +0100
+@@ -146,6 +146,14 @@
+ *** working iconv library such as the one found at
+ *** ftp://ftp.gnu.org/pub/gnu/libiconv
+ ])
++],[
++ AC_MSG_RESULT([cross-compiling, making some assumptions...])
++ AC_DEFINE(HAVE_ICONV_DETECT_H)
++ cat >iconv-detect.h <<EOF
++#define ICONV_ISO_D_FORMAT "iso-%d-%d"
++#define ICONV_ISO_S_FORMAT "iso-%d-%s"
++#define ICONV_10646 "iso-10646"
++EOF
+ ])
+
+ CFLAGS="$CFLAGS_save"
diff --git a/packages/libgmime/libgmime_2.1.7.bb b/packages/libgmime/libgmime_2.1.7.bb
index e69de29bb2..c741a1c5d0 100644
--- a/packages/libgmime/libgmime_2.1.7.bb
+++ b/packages/libgmime/libgmime_2.1.7.bb
@@ -0,0 +1,23 @@
+LICENSE = GPL
+DESCRIPTION = "Runtime libraries for parsing and creating MIME mail"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "glib-2.0"
+
+inherit autotools pkgconfig gnome
+
+PR = "r1"
+SRC_URI = "http://spruce.sourceforge.net/gmime/sources/v2.1/gmime-${PV}.tar.gz \
+ file://skip-iconv-detect.patch;patch=1 \
+ file://configure-ldflags-cross.patch;patch=1"
+
+S = "${WORKDIR}/gmime-${PV}"
+
+PACKAGES += " ${PN}-bin"
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-bin = "${bindir}/uu*"
+
+do_stage () {
+ oe_libinstall -a -so -C gmime libgmime-2.0 ${STAGING_LIBDIR}
+ gnome_stage_includes
+}