summaryrefslogtreecommitdiffstats
path: root/meta/packages/libidl
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-05-10 14:53:25 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-05-10 14:53:25 +0000
commit4e124e057b4c921846f675e7429f5ec1ea238cdd (patch)
treee6c195e502b17ff528c36c4007166262de8f579e /meta/packages/libidl
parent0e28941023a415d89ef40fb50807fc90594e4077 (diff)
downloadpoky-4e124e057b4c921846f675e7429f5ec1ea238cdd.tar.gz
libidl: use binconfig.bbclass to mangle paths instead of trying to it hand
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1698 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libidl')
-rw-r--r--meta/packages/libidl/libidl_0.8.3.bb11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/packages/libidl/libidl_0.8.3.bb b/meta/packages/libidl/libidl_0.8.3.bb
index 05334129be..6a4e0f895c 100644
--- a/meta/packages/libidl/libidl_0.8.3.bb
+++ b/meta/packages/libidl/libidl_0.8.3.bb
@@ -2,12 +2,13 @@ LICENSE = "LGPL"
2DESCRIPTION = "Library for parsing CORBA IDL files" 2DESCRIPTION = "Library for parsing CORBA IDL files"
3SECTION = "gnome/libs" 3SECTION = "gnome/libs"
4DEPENDS = "glib-2.0" 4DEPENDS = "glib-2.0"
5PR = "r2" 5PR = "r3"
6 6
7SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2" 7SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2"
8S = "${WORKDIR}/libIDL-${PV}" 8S = "${WORKDIR}/libIDL-${PV}"
9 9
10inherit autotools pkgconfig 10BINCONFIG_GLOB = "*-config-2"
11inherit autotools pkgconfig binconfig
11 12
12# Firefox uses the libIDL-config-2 script instead of pkgconfig (for some 13# Firefox uses the libIDL-config-2 script instead of pkgconfig (for some
13# strange reason - so we do some sed fu to fix the path there 14# strange reason - so we do some sed fu to fix the path there
@@ -21,12 +22,6 @@ do_stage() {
21 datadir=${STAGING_DATADIR} \ 22 datadir=${STAGING_DATADIR} \
22 infodir=${STAGING_INFODIR} 23 infodir=${STAGING_INFODIR}
23 24
24 cp ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR}/libIDL-config-2.orig
25 cat ${STAGING_BINDIR}/libIDL-config-2.orig | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR_CROSS}/libIDL-config-2
26
27 if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
28 mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2
29 fi
30} 25}
31 26
32FILES_${PN} = "${libdir}/*.so.*" 27FILES_${PN} = "${libdir}/*.so.*"