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

NAME="deskbar-applet"
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]='spack.py'
PKG_PATCH[1]='deskbar-applet-2.26.0-spacksupport.patch'
PKG_PATCH[2]='spack.default'

PKG_DISABLESMP="cuz it just stops during translations"

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

cflags
cxxflags
prepare
applypatch 1 1
applypatch 2 1
findpatch filename ${PKG_PATCH[0]}
spewdo "install -m 755 $filename $PKG_SRCROOT/deskbar/handlers/"
analyzesource
( cd $PKG_SRCROOT; automake )
configure
make
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
