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

NAME="cairo"
VERSION="1.0.4"
REVISION="1"

PKG_SOURCEURL='http://cairographics.org/releases/$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
#PKG_PATCH[0]='msg00019.patch'

cflags
cxxflags
prepare
#applypatch 0 0
#spewdo "cd $PKG_BUILDROOT ; autoreconf"
export LDFLAGS="-Wl,--as-needed"

analyzesource
configure
make
makeinstall install-strip
# Nothing links to this thing, so it's not like it needs the helper file!
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
