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

NAME="gnome-keyring"
VERSION="2.28.1"
REVISION="1"

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

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

# buildrequires pam
PKG_DOCFILES="${PKG_DOCFILES:+$PKG_DOCFILES }doc/file-format.txt"
PKG_OPTLEVEL="${PKG_OPTLEVEL:+$PKG_OPTLEVEL }-fstack-protector-all"

cflags
cxxflags
prepare
analyzesource
configure --with-pam-dir=/lib$LIBSUFFIX/security --enable-pam
make
makeinstall install-strip
spewdo "rm $PKG_STAGEROOT/lib$LIBSUFFIX/security/pam_gnome_keyring.la"
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
