summaryrefslogtreecommitdiff
path: root/meta/packages
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
parent0e28941023a415d89ef40fb50807fc90594e4077 (diff)
downloadopenembedded-core-4e124e057b4c921846f675e7429f5ec1ea238cdd.tar.gz
openembedded-core-4e124e057b4c921846f675e7429f5ec1ea238cdd.tar.bz2
openembedded-core-4e124e057b4c921846f675e7429f5ec1ea238cdd.zip
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')
-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"
DESCRIPTION = "Library for parsing CORBA IDL files"
SECTION = "gnome/libs"
DEPENDS = "glib-2.0"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2"
S = "${WORKDIR}/libIDL-${PV}"
-inherit autotools pkgconfig
+BINCONFIG_GLOB = "*-config-2"
+inherit autotools pkgconfig binconfig
# Firefox uses the libIDL-config-2 script instead of pkgconfig (for some
# strange reason - so we do some sed fu to fix the path there
@@ -21,12 +22,6 @@ do_stage() {
datadir=${STAGING_DATADIR} \
infodir=${STAGING_INFODIR}
- cp ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR}/libIDL-config-2.orig
- cat ${STAGING_BINDIR}/libIDL-config-2.orig | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR_CROSS}/libIDL-config-2
-
- if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
- mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2
- fi
}
FILES_${PN} = "${libdir}/*.so.*"