diff options
Diffstat (limited to 'recipes/tinymail/libtinymail.inc')
-rw-r--r-- | recipes/tinymail/libtinymail.inc | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/recipes/tinymail/libtinymail.inc b/recipes/tinymail/libtinymail.inc new file mode 100644 index 0000000000..29c3f4d1d1 --- /dev/null +++ b/recipes/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 |