#!/bin/sh

. config/options

$SCRIPTS/build toolchain
$SCRIPTS/build expat-host
$SCRIPTS/unpack dbus

DBUS_DIR=`ls -d $BUILD/dbus-[0-9]*`

setup_toolchain host

cd $DBUS_DIR
mkdir -p .build-host

cd .build-host
../configure --prefix=$ROOT/$TOOLCHAIN \
             --sysconfdir=$ROOT/$TOOLCHAIN/etc \
             --disable-tests \
             --disable-xml-docs \
             --disable-doxygen-docs \
             --enable-asserts=yes \

make
make install

$ROOT/$TOOLCHAIN/bin/dbus-daemon --introspect > introspect.xml
