#!/bin/bash
#
# Copyright 2005, 2006 Scott Harmon
# Available under the terms of the GNU GPL.
#

NAME="gnome-doc-utils"
VERSION="0.20.10"
REVISION="2"

PKG_SOURCEURL='ftp://ftp.gnome.org/mirror/gnome.org/sources/$NAME/$VER_MAJ.$VER_MIN/$NAME-$VERSION.tar.xz'

PKG_PATCH[0]="gnome-doc-utils-0.20-pkgconfigdirfix.patch"

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

PKG_SANIFYNOTOUCH="needed"
PKG_NEEDSTATIC="configure: WARNING: unrecognized options: --disable-static"

prepare

applypatch 0 1

analyzesource

# Really disable scrollkeeper
PKG_SCROLLKEEPER=0

configure --libdir=/usr/lib${LIBSUFFIX} \
	--disable-scrollkeeper
make
makecheck
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
