libbonobo_2.6.0.oe: fixed "orbit not found" bug
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 7 Jun 2004 11:52:35 +0000 (11:52 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 7 Jun 2004 11:52:35 +0000 (11:52 +0000)
BKrev: 40c45703Ex1ujsBfbpi2lhBixExvJw

gnome/libbonobo_2.6.0.oe

index 1c589a1..91d00f2 100644 (file)
@@ -4,6 +4,7 @@ SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.6/libbonobo-${PV}.
            file://gtk-doc.m4 \
            file://gtk-doc.make"
 DEPENDS = "glib-2.0 orbit2 intltool-native libxml2"
+ORBIT_IDL_SRC = "${STAGING_BINDIR}/orbit-idl-2"
 
 inherit autotools libtool pkgconfig
 
@@ -29,6 +30,10 @@ BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h bonobo-event-source.h b
                  bonobo-storage-memory.h bonobo-xobject.h bonobo-i18n.h bonobo-types.h \
                  bonobo-app-client.h bonobo-application.h"
 
+do_compile() {
+       oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
+}
+
 do_stage() {
        install -d ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation
        for i in ${ACTIVATION_HEADERS}; do install -m 0644 bonobo-activation/$i ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation/; done
@@ -38,3 +43,7 @@ do_stage() {
        oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR}
        oe_libinstall -so -C bonobo-activation libbonobo-activation ${STAGING_LIBDIR}
 }
+
+do_install() {
+       oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
+}