summaryrefslogtreecommitdiffstats
path: root/meta/packages/libidl/libidl_0.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/libidl/libidl_0.8.3.bb')
-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.*"