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

NAME="gnome-games"
VERSION="2.12.1"
REVISION="1"

PKG_SOURCEURL='http://ftp.gnome.org/pub/GNOME/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.bz2'
#Crazy broken makefiles
#export CXX='g++'

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


cflags
cxxflags
prepare
analyzesource
configure
make
makeinstall install-strip
# Don't replace their highscore files if they are there...
cd $PKG_STAGEROOT$PKG_LOCALSTATEDIR/games 
for filename in `ls *.scores`; do
	logfile $PKG_LOCALSTATEDIR/games/$filename
done
# highscore files end
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
