409340060dce31e31e4baabca5e39bc22e39078d
[vuplus_openembedded] / gnome / libbonobo_2.6.0.oe
1 SECTION = "gnome/base"
2 DESCRIPTION = "Bonobo CORBA interfaces library"
3 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.6/libbonobo-${PV}.tar.bz2"
4 DEPENDS = "glib-2.0 orbit2 intltool-native libxml2"
5
6 inherit autotools libtool pkgconfig
7
8 do_configure_prepend() {
9         install -d m4
10         install ${FILESDIR}/gtk-doc.m4 m4/
11         install ${FILESDIR}/gtk-doc.make ./
12 }
13
14 ACTIVATION_HEADERS = "Bonobo_Unknown.h Bonobo_GenericFactory.h Bonobo_Activation_types.h \
15                       bonobo-activation.h bonobo-activation-async.h bonobo-activation-activate.h \
16                       bonobo-activation-init.h bonobo-activation-shlib.h bonobo-activation-register.h \
17                       bonobo-activation-server-info.h bonobo-activation-version.h"
18
19 BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h bonobo-event-source.h bonobo-exception.h \
20                   bonobo-generic-factory.h bonobo-item-container.h bonobo-item-handler.h \
21                   bonobo-listener.h bonobo-main.h bonobo-macros.h bonobo-moniker-extender.h \
22                   bonobo-moniker-simple.h bonobo-moniker-util.h bonobo-moniker.h bonobo-object.h \
23                   bonobo-foreign-object.h bonobo-persist-file.h bonobo-persist-stream.h \
24                   bonobo-persist.h bonobo-persist-client.h bonobo-property-bag.h \
25                   bonobo-property-bag-client.h bonobo-shlib-factory.h  bonobo-storage.h \
26                   bonobo-stream.h bonobo-stream-client.h bonobo-stream-memory.h \
27                   bonobo-storage-memory.h bonobo-xobject.h bonobo-i18n.h bonobo-types.h \
28                   bonobo-app-client.h bonobo-application.h"
29
30 do_stage() {
31         install -d ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation
32         for i in ${ACTIVATION_HEADERS}; do install -m 0644 bonobo-activation/$i ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation/; done
33         install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo
34         for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i ${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done
35         install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/
36         oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR}
37         oe_libinstall -so -C bonobo-activation libbonobo-activation ${STAGING_LIBDIR}
38 }