libgcrypt: restore BBCLASSEXTEND
[openembedded.git] / recipes / dbus / dbus-glib.inc
1 DESCRIPTION = "GLib bindings for the dbus message bus system"
2 HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
3 SECTION = "libs"
4 LICENSE = "GPL"
5 DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus"
6 INC_PR = "r1"
7
8 SRC_URI = "\
9   http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz;name=archive \
10   file://no-introspect.patch;patch=1 \
11   file://no-examples.patch;patch=1 \
12 "
13
14 inherit autotools pkgconfig gettext
15
16 do_configure_prepend() {
17         install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml ${S}/tools/
18         install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/
19 }
20
21 PACKAGES += "${PN}-bash-completion"
22 FILES_${PN}-bash-completion = "\
23   ${sysconfdir}/bash_completion.d \
24   ${prefix}/libexec/dbus-bash-completion-helper \
25 "
26 FILES_${PN} = "${libdir}/lib*.so.*"
27 FILES_${PN}-dev += "\
28   ${libdir}/dbus-1.0/include \
29   ${bindir}/dbus-glib-tool \
30   ${bindir}/dbus-binding-tool \
31 "