summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-10-30 14:23:19 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-10-30 14:23:19 +0000
commit2b569b99fc21e588b45cbc9f4e5100dba2d0ee03 (patch)
tree8a552dbe98a7ac139653374381266bfe42c4d374
parent3ed1fd40bb8e2115c9841ba3fb03344599a61736 (diff)
libtinymail: add 0.0.3, stage files, use include
-rw-r--r--packages/tinymail/libtinymail-0.0.3/.mtn2git_empty0
-rw-r--r--packages/tinymail/libtinymail-0.0.3/no-iconv-detect.patch18
-rw-r--r--packages/tinymail/libtinymail.inc54
-rw-r--r--packages/tinymail/libtinymail_0.0.3.bb1
4 files changed, 73 insertions, 0 deletions
diff --git a/packages/tinymail/libtinymail-0.0.3/.mtn2git_empty b/packages/tinymail/libtinymail-0.0.3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/tinymail/libtinymail-0.0.3/.mtn2git_empty
diff --git a/packages/tinymail/libtinymail-0.0.3/no-iconv-detect.patch b/packages/tinymail/libtinymail-0.0.3/no-iconv-detect.patch
new file mode 100644
index 0000000000..cfda4cb0f2
--- /dev/null
+++ b/packages/tinymail/libtinymail-0.0.3/no-iconv-detect.patch
@@ -0,0 +1,18 @@
+--- m4/ticonv.m4~ 2007-10-30 13:57:32.000000000 +0100
++++ trunk/m4/ticonv.m4 2007-10-30 13:57:32.000000000 +0100
+@@ -76,15 +76,6 @@
+
+ CFLAGS="$CFLAGS -I$srcdir"
+
+-AC_MSG_CHECKING(preferred charset formats for system iconv)
+-AC_RUN_IFELSE([AC_LANG_SOURCE([[
+-#define CONFIGURE_IN
+-#include "iconv-detect.c"
+-]])],[
+- AC_MSG_RESULT(found)
+-],[
+- AC_MSG_RESULT(not found)
+-],[])
+
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
diff --git a/packages/tinymail/libtinymail.inc b/packages/tinymail/libtinymail.inc
new file mode 100644
index 0000000000..29c3f4d1d1
--- /dev/null
+++ b/packages/tinymail/libtinymail.inc
@@ -0,0 +1,54 @@
+DESCRIPTION = "TinyMail is an attempt to create an E-mail framework for mobile devices"
+SECTION = "x11/utils"
+LICENSE = "LGPL"
+DEPENDS = "gtk+ glib-2.0 gnome-vfs gconf-dbus libgnomeui"
+
+EXTRA_OECONF=" --disable-gnome --with-platform=gpe --with-html-component=none"
+
+SRC_URI = "http://tinymail.org/files/releases/pre-releases/v${PV}/libtinymail-${PV}.tar.bz2 \
+ file://no-iconv-detect.patch;patch=1 \
+ file://iconv-detect.h \
+ file://gtk-doc.m4 \
+ file://gtk-doc.make"
+
+inherit pkgconfig autotools
+
+do_configure_prepend() {
+ mkdir -p m4
+ install ${WORKDIR}/gtk-doc.m4 ./m4/
+ install ${WORKDIR}/gtk-doc.make ./
+
+ cp ${WORKDIR}/iconv-detect.h ${S}/libtinymail-camel/camel-lite/
+}
+
+
+PACKAGES =+ "lib${PN}-gpe lib${PN}-gpe-dev \
+ tinymail-camel-lite tinymail-camel-lite-dev tinymail-camel-lite-dbg \
+ libtinymailui-gtk libtinymailui libtinymail-camel lib${PN}"
+
+FILES_lib${PN} = "${libdir}/lib*.so.*"
+FILES_libtinymailui = "${libdir}/libtinymailui*.so.*"
+FILES_libtinymailui-gtk = "${libdir}/libtinymailui-gtk*.so.*"
+
+FILES_libtinymail-camel = "${libdir}/libtinymail-camel*.so.*"
+
+FILES_lib${PN}-gpe = "${libdir}/libtinymail-gpe*.so.*"
+FILES_lib${PN}-gpe-dev = "${libdir}/libtinymail-gpe*.so \
+ ${libdir}/libtinymail-gpe*.a \
+ ${libdir}/libtinymail-gpe*.la"
+
+LEAD_SONAME_tinymail-camel-lite = "libcamel-lite"
+FILES_tinymail-camel-lite += "${libdir}/libcamel*.so.* \
+ ${libdir}/camel-lite-1.2/camel-providers/*.so \
+ ${libdir}/camel-lite-1.2/camel-providers/*.urls "
+FILES_tinymail-camel-lite-dev += "${libdir}/libcamel-lite*.so \
+ ${libdir}/libcamel-lite*.a \
+ ${libdir}/libcamel-lite*.la \
+ ${libdir}/camel-lite-1.2/camel-providers/*.la \
+ ${libdir}/camel-lite-1.2/camel-providers/*.a "
+FILES_tinymail-camel-lite-dbg += "${libdir}/camel-lite-1.2/camel-providers/.debug"
+
+
+do_stage () {
+ autotools_stage_all
+} \ No newline at end of file
diff --git a/packages/tinymail/libtinymail_0.0.3.bb b/packages/tinymail/libtinymail_0.0.3.bb
new file mode 100644
index 0000000000..342f11ba85
--- /dev/null
+++ b/packages/tinymail/libtinymail_0.0.3.bb
@@ -0,0 +1 @@
+require libtinymail.inc