blob: 4f6dbfd3320aa262299926190a47f294f25a4015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
LICENSE = GPL
SECTION = "x11/gnome"
DESCRIPTION = "Bonobo CORBA interfaces library"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.6/libbonobo-${PV}.tar.bz2 \
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 pkgconfig
do_configure_prepend() {
install -d m4
install ${WORKDIR}/gtk-doc.m4 m4/
install ${WORKDIR}/gtk-doc.make ./
}
ACTIVATION_HEADERS = "Bonobo_Unknown.h Bonobo_GenericFactory.h Bonobo_Activation_types.h \
bonobo-activation.h bonobo-activation-async.h bonobo-activation-activate.h \
bonobo-activation-init.h bonobo-activation-shlib.h bonobo-activation-register.h \
bonobo-activation-server-info.h bonobo-activation-version.h"
BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h bonobo-event-source.h bonobo-exception.h \
bonobo-generic-factory.h bonobo-item-container.h bonobo-item-handler.h \
bonobo-listener.h bonobo-main.h bonobo-macros.h bonobo-moniker-extender.h \
bonobo-moniker-simple.h bonobo-moniker-util.h bonobo-moniker.h bonobo-object.h \
bonobo-foreign-object.h bonobo-persist-file.h bonobo-persist-stream.h \
bonobo-persist.h bonobo-persist-client.h bonobo-property-bag.h \
bonobo-property-bag-client.h bonobo-shlib-factory.h bonobo-storage.h \
bonobo-stream.h bonobo-stream-client.h bonobo-stream-memory.h \
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
install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo
for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i ${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done
install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/
install -d ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
install idl/*.idl ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
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
}
|