diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-05-10 14:53:25 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-05-10 14:53:25 +0000 |
| commit | 4e124e057b4c921846f675e7429f5ec1ea238cdd (patch) | |
| tree | e6c195e502b17ff528c36c4007166262de8f579e /meta/packages/libidl | |
| parent | 0e28941023a415d89ef40fb50807fc90594e4077 (diff) | |
| download | poky-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.bb | 11 |
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" | |||
| 2 | DESCRIPTION = "Library for parsing CORBA IDL files" | 2 | DESCRIPTION = "Library for parsing CORBA IDL files" |
| 3 | SECTION = "gnome/libs" | 3 | SECTION = "gnome/libs" |
| 4 | DEPENDS = "glib-2.0" | 4 | DEPENDS = "glib-2.0" |
| 5 | PR = "r2" | 5 | PR = "r3" |
| 6 | 6 | ||
| 7 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2" | 7 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2" |
| 8 | S = "${WORKDIR}/libIDL-${PV}" | 8 | S = "${WORKDIR}/libIDL-${PV}" |
| 9 | 9 | ||
| 10 | inherit autotools pkgconfig | 10 | BINCONFIG_GLOB = "*-config-2" |
| 11 | inherit 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 | ||
| 32 | FILES_${PN} = "${libdir}/*.so.*" | 27 | FILES_${PN} = "${libdir}/*.so.*" |
