# SliTaz package receipt.

PACKAGE="doxygen"
VERSION="1.7.4"
CATEGORY="development"
SHORT_DESC="Source code documentation generator tool."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.src.tar.gz"
BUILD_DEPENDS="perl graphviz flex"
WEB_SITE="http://www.stack.nl/~dimitri/doxygen/"
WGET_URL="ftp://ftp.stack.nl/pub/users/dimitri/$TARBALL"
TAGS="language documentation"


# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --shared --prefix /usr --docdir /usr/share/doc \
		--install /usr/bin/install &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

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