1 HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
2 DESCRIPTION = "message bus system for applications to talk to one another"
3 DEPENDS = "virtual/libc expat glib-2.0"
4 RDEPENDS = "libc6 expat"
6 SRC_URI = "http://freedesktop.org/Software/dbus/releases/dbus-${PV}.tar.gz \
7 file://${FILESDIR}/cross.patch;patch=1"
9 inherit autotools libtool pkgconfig
11 EXTRA_OECONF = "--disable-qt --disable-gtk --disable-tests \
12 --disable-checks --disable-xml-docs --disable-doxygen-docs \
13 --with-xml=expat --without-x"
15 headers = "dbus-address.h dbus-bus.h dbus-connection.h dbus-errors.h dbus-macros.h dbus-memory.h dbus-message.h dbus-pending-call.h dbus-protocol.h dbus-server.h dbus-threads.h dbus-types.h dbus.h"
17 libname = "libdbus-1.so.0.0.0"
18 glibname = "libdbus-glib-1.so.0.0.0"
21 oe_soinstall dbus/.libs/${libname} ${STAGING_LIBDIR}/
22 install -m 0644 dbus/libdbus-1.la ${STAGING_LIBDIR}/
24 oe_soinstall glib/.libs/${glibname} ${STAGING_LIBDIR}/
25 install -m 0644 glib/libdbus-glib-1.la ${STAGING_LIBDIR}/
27 mkdir -p ${STAGING_INCDIR}/dbus-1.0/dbus
28 for i in ${headers}; do
29 install -m 0644 dbus/$i ${STAGING_INCDIR}/dbus-1.0/dbus/$i
32 install -m 0644 glib/dbus-glib.h ${STAGING_INCDIR}/dbus-1.0/dbus/
34 mkdir -p ${STAGING_LIBDIR}/dbus-1.0/include/dbus/
35 install -m 0644 dbus/dbus-arch-deps.h ${STAGING_LIBDIR}/dbus-1.0/include/dbus/