summaryrefslogtreecommitdiff
path: root/recipes/libidl/libidl_0.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libidl/libidl_0.8.3.bb')
-rw-r--r--recipes/libidl/libidl_0.8.3.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/libidl/libidl_0.8.3.bb b/recipes/libidl/libidl_0.8.3.bb
new file mode 100644
index 0000000000..c4586f94f8
--- /dev/null
+++ b/recipes/libidl/libidl_0.8.3.bb
@@ -0,0 +1,17 @@
+require libidl.inc
+
+DEPENDS = "glib-2.0"
+
+PR = "r3"
+
+# 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
+
+do_stage_prepend() {
+ 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}/libIDL-config-2
+
+ if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
+ mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2
+ fi
+}