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

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

PKG_PATCH[0]='contrib.patch'

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

cflags
cxxflags
prepare
applypatch 0 1
analyzesource
configure --with-gnome-distributor=Dropline_Systems \
          --with-gnome-date=\"$(shell date + '%e %B, %Y')\" \
          --with-kde-datadir=/opt/kde/share
make
makeinstall
# use the gnome-version.xml file in dropline-version instead
rm -f $PKG_STAGEROOT/usr/share/gnome-about/gnome-version.xml
tidydocumentation
analyzebinaries
includescript
finalizepackage
packagize
cleanup
