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

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

#PKG_PATCH[0]='seahorse-fix-51474.patch'
#PKG_PATCH[1]='seahorse-0.7.9-suidagentfix.patch'
#PKG_PATCH[2]='seahorse-0.7.9-gedit212.patch'

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

cflags
prepare

#applypatch 0 1 
#applypatch 1 1 
#applypatch 2 1 

analyzesource
configure
make
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage

spew 4 "Working around a small bug in the install target of the Makefile..."
spewdo "chmod u+s $PKG_STAGEROOT$PKG_PREFIX/bin/seahorse-agent"

packagize
cleanup
