# Template file for 'graphviz'
pkgname=graphviz
version=2.26.3
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Graph Visualization Software"
configure_args="--disable-rpath --enable-ltdl --disable-ltdl-install
--disable-swig --disable-sharp --disable-guile --disable-io --disable-java
--disable-lua --disable-ocaml --disable-perl --disable-php --disable-python
--disable-r --disable-ruby --disable-tcl --without-included-ltdl
--without-devil --without-glut --without-ghoscript"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f410996e69b1095237c2128deae5fc7b6ce99055b095271abb14447bc2f37fa1
long_desc="
 Graph visualization is a way of representing structural information as
 diagrams of abstract graphs and networks. Automatic graph drawing has
 many important applications in software engineering, database and web
 design, networking, and in visual interfaces for many other domains."

Add_dependency run glibc
Add_dependency run libpng
Add_dependency run gd
Add_dependency run expat
Add_dependency run zlib
Add_dependency run gtk+
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run libX11
Add_dependency run libXpm
Add_dependency run jpeg
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run librsvg
Add_dependency run atk
Add_dependency run libXaw
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libXt
Add_dependency run libXmu
Add_dependency run libXext
Add_dependency build flex
Add_dependency build pkg-config
Add_dependency build libpng-devel
Add_dependency build gd-devel
Add_dependency build expat-devel
Add_dependency build zlib-devel
Add_dependency build gtk+-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build libX11-devel
Add_dependency build libXpm-devel
Add_dependency build jpeg-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build librsvg-devel
Add_dependency build atk-devel
Add_dependency build libXaw-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libXt-devel
Add_dependency build libXmu-devel
Add_dependency build libXext-devel

post_install()
{
	# Remove unused stuff (for now).
	rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
}
