summaryrefslogtreecommitdiff
path: root/recipes/libidl
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libidl')
-rw-r--r--recipes/libidl/libidl-native_0.8.10.bb5
-rw-r--r--recipes/libidl/libidl-native_0.8.3.bb5
-rw-r--r--recipes/libidl/libidl.inc16
-rw-r--r--recipes/libidl/libidl_0.8.10.bb8
-rw-r--r--recipes/libidl/libidl_0.8.2.bb3
-rw-r--r--recipes/libidl/libidl_0.8.3.bb17
6 files changed, 54 insertions, 0 deletions
diff --git a/recipes/libidl/libidl-native_0.8.10.bb b/recipes/libidl/libidl-native_0.8.10.bb
new file mode 100644
index 0000000000..ce59fd4b86
--- /dev/null
+++ b/recipes/libidl/libidl-native_0.8.10.bb
@@ -0,0 +1,5 @@
+SECTION = "libs"
+require libidl_${PV}.bb
+inherit native
+
+DEPENDS = "glib-2.0-native"
diff --git a/recipes/libidl/libidl-native_0.8.3.bb b/recipes/libidl/libidl-native_0.8.3.bb
new file mode 100644
index 0000000000..ce59fd4b86
--- /dev/null
+++ b/recipes/libidl/libidl-native_0.8.3.bb
@@ -0,0 +1,5 @@
+SECTION = "libs"
+require libidl_${PV}.bb
+inherit native
+
+DEPENDS = "glib-2.0-native"
diff --git a/recipes/libidl/libidl.inc b/recipes/libidl/libidl.inc
new file mode 100644
index 0000000000..e032575bb5
--- /dev/null
+++ b/recipes/libidl/libidl.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Library for parsing CORBA IDL files"
+SECTION = "x11/gnome/libs"
+LICENSE = "LGPL"
+
+inherit autotools pkgconfig
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2"
+
+S = "${WORKDIR}/libIDL-${PV}"
+
+do_stage() {
+ autotools_stage_all
+}
+
+FILES_${PN} = "${libdir}/*.so.*"
+FILES_${PN}-dev += " ${bindir}"
diff --git a/recipes/libidl/libidl_0.8.10.bb b/recipes/libidl/libidl_0.8.10.bb
new file mode 100644
index 0000000000..c6664acb23
--- /dev/null
+++ b/recipes/libidl/libidl_0.8.10.bb
@@ -0,0 +1,8 @@
+require libidl.inc
+
+DEPENDS = "glib-2.0 libidl-native"
+
+PR = "r0"
+
+BINCONFIG_GLOB = "*-config-2"
+inherit autotools pkgconfig binconfig
diff --git a/recipes/libidl/libidl_0.8.2.bb b/recipes/libidl/libidl_0.8.2.bb
new file mode 100644
index 0000000000..b451ada539
--- /dev/null
+++ b/recipes/libidl/libidl_0.8.2.bb
@@ -0,0 +1,3 @@
+require libidl.inc
+
+PR = "r1"
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
+}