From 4e124e057b4c921846f675e7429f5ec1ea238cdd Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 10 May 2007 14:53:25 +0000 Subject: 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 --- meta/packages/libidl/libidl_0.8.3.bb | 11 +++-------- 1 file 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 05334129b..6a4e0f895 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.*" -- cgit v1.2.3