# SliTaz package receipt.

PACKAGE="gtk-doc"
VERSION="1.18"
CATEGORY="development"
SHORT_DESC="Generate API documentation from comments added to C code."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://www.gtk.org/gtk-doc/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
#http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.xz

BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python perl"

# Rules to configure and make the package.
compile_rules()
{
	cd $src

	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
	make &&
	make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
	cp -a $_pkg/usr $fs
}