summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:58:37 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:58:37 +0100
commit078d43d16aae16dd394d84ced5095dbe3f68a450 (patch)
tree193a04a39283689dac990ac7ecf6e3cdd827ee4a /meta
parentd950827961693b16587b6622c696aefebc349865 (diff)
downloadpoky-078d43d16aae16dd394d84ced5095dbe3f68a450.tar.gz
telepathy-glib: Use autotools_stage_all now (its been fixed)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/telepathy/telepathy-glib_0.7.29.bb32
1 files changed, 2 insertions, 30 deletions
diff --git a/meta/packages/telepathy/telepathy-glib_0.7.29.bb b/meta/packages/telepathy/telepathy-glib_0.7.29.bb
index 4d143bac11..44df34df68 100644
--- a/meta/packages/telepathy/telepathy-glib_0.7.29.bb
+++ b/meta/packages/telepathy/telepathy-glib_0.7.29.bb
@@ -2,40 +2,12 @@ DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection man
2HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" 2HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
3DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib" 3DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib"
4LICENSE = "LGPL" 4LICENSE = "LGPL"
5PR = "r1"
5 6
6SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz \ 7SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz \
7 file://prefer_python_2.5.patch;patch=1 " 8 file://prefer_python_2.5.patch;patch=1 "
8 9
9inherit autotools pkgconfig 10inherit autotools_stage pkgconfig
10 11
11FILES_${PN} += "${datadir}/telepathy \ 12FILES_${PN} += "${datadir}/telepathy \
12 ${datadir}/dbus-1" 13 ${datadir}/dbus-1"
13
14do_stage() {
15 #
16 # copied autotools_stage_all because telepathy-glib has one lib only built as static
17 # so it can not be oe_libinstalled
18 #
19 rm -rf ${STAGE_TEMP}
20 mkdir -p ${STAGE_TEMP}
21 oe_runmake DESTDIR="${STAGE_TEMP}" install
22 if [ -d ${STAGE_TEMP}/${includedir} ]; then
23 cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
24 fi
25 if [ -d ${STAGE_TEMP}/${libdir} ]
26 then
27 for i in ${STAGE_TEMP}/${libdir}/*.la
28 do
29 if [ ! -f "$i" ]; then
30 cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
31 break
32 fi
33 done
34 oe_libinstall -so -C telepathy-glib/.libs libtelepathy-glib ${STAGING_LIBDIR}
35 fi
36 if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
37 install -d ${STAGING_DATADIR}/aclocal
38 cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
39 fi
40 rm -rf ${STAGE_TEMP}
41}