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

NAME="control-center"
VERSION="2.14.1"
REVISION="1"
PKG_SOURCEURL='http://ftp.gnome.org/pub/GNOME/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.bz2'

PKG_PATCH[0]='defaultapplist.patch'
#PKG_PATCH[1]='gcc3.patch'

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

cflags
cxxflags
prepare

applypatch 0 1 
#applypatch 1 1 

analyzesource
( spewdo "cd $PKG_SRCROOT"; spewdo "autoconf" )
configure --enable-gstreamer --enable-aboutme
make
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
