#!/bin/sh
#
# Copyright 2006 Paul Best <paul.best@gmail.com>
# Available under the terms of the GNU GPL.
#

NAME="evince"
VERSION="0.5.3"
REVISION="1"

PKG_SOURCEURL='http://ftp.gnome.org/pub/gnome/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.gz'
#PKG_PATCH[0]="evince.desktop.patch"

# This is new to the engine as of v1.95.00!
#PKG_USEAUTOGENSH="yep"

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

cflags
prepare

spewdo "cd $PKG_BUILDROOT ; autoreconf"
export LDFLAGS=""

analyzesource

#applypatch 0 0

#configure
configure --enable-static=no --enable-pixbuf --enable-tiff --disable-djvu --enable-dvi --disable-comics --enable-nautilus
make
makeinstall install-strip
# Nothing links to this thing, so it's not like it needs the helper file!
tidydocumentation
analyzebinaries
includescript
finalizepackage
packagize
cleanup
