summaryrefslogtreecommitdiffstats
path: root/meta/packages/dbus/dbus-native_1.2.14.bb
blob: 0c6f5815f88d1bf2239b0d8f5aa0f11befb16805 (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
require dbus.inc
inherit native

DEPENDS = "glib-2.0-native libxml2-native expat-native"

PR = "r6"

EXTRA_OECONF_X = "--without-x"

do_stage() {
	oe_runmake install
	autotools_stage_all

	# for dbus-glib-native introspection generation
	install -d ${STAGING_DATADIR}/dbus
	install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf
	
	# dbus-glib-native and dbus-glib need this xml file
	install -d ${STAGING_DATADIR_NATIVE}/dbus/
	cd ${S}
	./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
}

do_install() {
	:
}