#!/bin/sh
#
# Copyright 2005-2007 Dagmar d'Surreal <rivyqntzne@tznvy.pbz>
# Available under the terms of the GNU GPL.
#

NAME="gnome-power-manager"
VERSION="2.28.0"
REVISION="1"

PKG_SOURCEURL='http://ftp.gnome.org/pub/GNOME/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.bz2'

PKG_PATCH[0]="stop-abusing-gcc-flags.diff"

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

cflags
cxxflags
prepare
analyzesource

#applypatch 0 1

configure --with-dbus-services=$PKG_DATADIR/dbus-1/services \
	  --disable-scrollkeeper \
	  --enable-compile-warnings=no \
	  --enable-hal
make 
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup

