#!/bin/sh

. config/options

$SCRIPTS/build toolchain
$SCRIPTS/build dbus
$SCRIPTS/build dbus-glib
$SCRIPTS/build Linux-PAM
$SCRIPTS/build polkit

cd $PKG_BUILD
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \
            --sbindir=/sbin \
            --libexecdir=/usr/lib/ConsoleKit \
            --localstatedir=/var \
            --disable-static \
            --enable-shared \
            --enable-pam-module \
            --disable-docbook-docs \

make

$MAKEINSTALL
