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

NAME="librsvg"
VERSION="2.12.7"
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

cflags
prepare
analyzesource
# These are actually defaults, but we want the build to stop if the configure
# script detects them as unavailable.
configure --with-svgz --with-croco
make
makeinstall
tidydocumentation
spewdo "mv $PKG_STAGEROOT$PKG_PREFIX/lib/mozilla $PKG_STAGEROOT$PKG_PREFIX/lib/firefox"
analyzebinaries
finalizepackage
packagize
cleanup
