telepathy-glib: added 0.5.10
authorMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 24 Apr 2007 11:32:02 +0000 (11:32 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 24 Apr 2007 11:32:02 +0000 (11:32 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1539 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/telepathy/telepathy-glib_0.5.10.bb [new file with mode: 0644]

diff --git a/meta/packages/telepathy/telepathy-glib_0.5.10.bb b/meta/packages/telepathy/telepathy-glib_0.5.10.bb
new file mode 100644 (file)
index 0000000..f6b6a6c
--- /dev/null
@@ -0,0 +1,40 @@
+DESCRIPTION = "Telepathy framework - GLib library"
+HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
+DEPENDS = "glib-2.0 dbus python-native dbus-native"
+LICENSE = "LGPL"
+
+SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz "
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${datadir}/telepathy \
+               ${datadir}/dbus-1"
+
+do_stage() {
+       #
+       # copied autotools_stage_all because telepathy-glib has one lib only built as static
+       # so it can not be oe_libinstalled
+       #
+       rm -rf ${STAGE_TEMP}
+       mkdir -p ${STAGE_TEMP}
+       oe_runmake DESTDIR="${STAGE_TEMP}" install
+       if [ -d ${STAGE_TEMP}/${includedir} ]; then
+               cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+       fi
+       if [ -d ${STAGE_TEMP}/${libdir} ]
+       then
+               for i in ${STAGE_TEMP}/${libdir}/*.la
+               do
+                       if [ ! -f "$i" ]; then
+                               cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
+                               break
+                       fi
+               done
+               oe_libinstall -so -C telepathy-glib/.libs libtelepathy-glib ${STAGING_LIBDIR}
+       fi
+       if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
+               install -d ${STAGING_DATADIR}/aclocal
+               cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
+       fi
+       rm -rf ${STAGE_TEMP}
+}