diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-12 15:58:37 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-12 15:58:37 +0100 |
commit | 078d43d16aae16dd394d84ced5095dbe3f68a450 (patch) | |
tree | 193a04a39283689dac990ac7ecf6e3cdd827ee4a /meta/packages/telepathy | |
parent | d950827961693b16587b6622c696aefebc349865 (diff) | |
download | poky-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/packages/telepathy')
-rw-r--r-- | meta/packages/telepathy/telepathy-glib_0.7.29.bb | 32 |
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 | |||
2 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | 2 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" |
3 | DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib" | 3 | DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib" |
4 | LICENSE = "LGPL" | 4 | LICENSE = "LGPL" |
5 | PR = "r1" | ||
5 | 6 | ||
6 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz \ | 7 | SRC_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 | ||
9 | inherit autotools pkgconfig | 10 | inherit autotools_stage pkgconfig |
10 | 11 | ||
11 | FILES_${PN} += "${datadir}/telepathy \ | 12 | FILES_${PN} += "${datadir}/telepathy \ |
12 | ${datadir}/dbus-1" | 13 | ${datadir}/dbus-1" |
13 | |||
14 | do_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 | } | ||