DESCRIPTION="graphviz - Open Source Graph Visualization Software." 
HOMEPAGE="http://www.graphviz.org/" 
SOURCE_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.24.0.tar.gz"
CHECKSUM_MD5="806a30dbc3f8deb219216f35be0e7a40"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	cd graphviz-2.24.0
	libtoolize -fci
	aclocal -I m4
	autoconf
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--disable-shared \
		--enable-static \
		CFLAGS="-O0" \
		LDFLAGS="-L`finddir B_COMMON_LIB_DIRECTORY` -liconv"
	make
}

INSTALL()
{
	cd graphviz-2.24.0
	make install
	cd `finddir B_COMMON_BIN_DIRECTORY`
	ln -s dot_static dot
}

LICENSE="CPL v1.0"
COPYRIGHT="1994-2010 AT&T Corp."
