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

NAME="poppler"
VERSION="0.4.2"
REVISION="0"

PKG_SOURCEURL='http://poppler.freedesktop.org/$NAME-$VERSION.tar.gz'

# 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="-Wl,--as-needed"

analyzesource
#configure
configure
make
makeinstall install-strip
tidydocumentation
analyzebinaries
includescript
finalizepackage
packagize
cleanup
