diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/libgmime | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/libgmime')
-rw-r--r-- | recipes/libgmime/libgmime/configure-ldflags-cross.patch | 11 | ||||
-rw-r--r-- | recipes/libgmime/libgmime/skip-iconv-detect.patch | 17 | ||||
-rw-r--r-- | recipes/libgmime/libgmime_2.1.7.bb | 23 |
3 files changed, 51 insertions, 0 deletions
diff --git a/recipes/libgmime/libgmime/configure-ldflags-cross.patch b/recipes/libgmime/libgmime/configure-ldflags-cross.patch new file mode 100644 index 0000000000..61458dedf6 --- /dev/null +++ b/recipes/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/recipes/libgmime/libgmime/skip-iconv-detect.patch b/recipes/libgmime/libgmime/skip-iconv-detect.patch new file mode 100644 index 0000000000..ed2b277a56 --- /dev/null +++ b/recipes/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/recipes/libgmime/libgmime_2.1.7.bb b/recipes/libgmime/libgmime_2.1.7.bb new file mode 100644 index 0000000000..39a682eb73 --- /dev/null +++ b/recipes/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 +} |