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

NAME="gtk-engines"
VERSION="2.18.4"
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
cxxflags
prepare
analyzesource
configure --enable-animation --enable-all --enable-lua
make
makeinstall install-strip
tidydocumentation
analyzebinaries
spewdo "find $PKG_STAGEROOT$PKG_PREFIX/lib$LIBSUFFIX/gtk-2.0/2.10.0/engines/ -name '*.la' -exec rm {} \;"
finalizepackage
packagize
cleanup
