summaryrefslogtreecommitdiffstats
path: root/meta/packages/telepathy/telepathy-glib_0.7.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/telepathy/telepathy-glib_0.7.0.bb')
-rw-r--r--meta/packages/telepathy/telepathy-glib_0.7.0.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/telepathy/telepathy-glib_0.7.0.bb b/meta/packages/telepathy/telepathy-glib_0.7.0.bb
new file mode 100644
index 0000000000..7885cdecd4
--- /dev/null
+++ b/meta/packages/telepathy/telepathy-glib_0.7.0.bb
@@ -0,0 +1,40 @@
1DESCRIPTION = "Telepathy framework - GLib library"
2HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
3DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native"
4LICENSE = "LGPL"
5
6SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz "
7
8inherit autotools pkgconfig
9
10FILES_${PN} += "${datadir}/telepathy \
11 ${datadir}/dbus-1"
12
13do_stage() {
14 #
15 # copied autotools_stage_all because telepathy-glib has one lib only built as static
16 # so it can not be oe_libinstalled
17 #
18 rm -rf ${STAGE_TEMP}
19 mkdir -p ${STAGE_TEMP}
20 oe_runmake DESTDIR="${STAGE_TEMP}" install
21 if [ -d ${STAGE_TEMP}/${includedir} ]; then
22 cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
23 fi
24 if [ -d ${STAGE_TEMP}/${libdir} ]
25 then
26 for i in ${STAGE_TEMP}/${libdir}/*.la
27 do
28 if [ ! -f "$i" ]; then
29 cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
30 break
31 fi
32 done
33 oe_libinstall -so -C telepathy-glib/.libs libtelepathy-glib ${STAGING_LIBDIR}
34 fi
35 if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
36 install -d ${STAGING_DATADIR}/aclocal
37 cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
38 fi
39 rm -rf ${STAGE_TEMP}
40}