#!/bin/sh

. config/options $1

$SCRIPTS/unpack eggdbus

EGGDBUS_DIR=`ls -d $BUILD/eggdbus-[0-9]*`

setup_toolchain host

cd $EGGDBUS_DIR
do_autoreconf

mkdir -p .build-host && cd .build-host
../configure --prefix=$ROOT/$TOOLCHAIN \
             --sysconfdir=$ROOT/$TOOLCHAIN/etc \
             --disable-static \
             --enable-shared \
             --disable-man-pages \

make
make install
