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

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

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

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

cflags
cxxflags
prepare
analyzesource
configure --enable-libnotify
make -j3
makecheck
makeinstall install-strip

# Remove the autostart gnome-power-manager.desktop file
# because of issues with splash hanging...
spewdo "rm $PKG_STAGEROOT$PKG_PREFIX/share/gnome/autostart/gnome-power-manager.desktop"

tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup

