# Template file for 'graphviz'
pkgname=graphviz
version=2.28.0
revision=6
build_style=gnu-configure
subpackages="${pkgname}-libs ${pkgname}-devel"
makedepends="flex pkg-config libpng-devel>=1.5.10 gd-devel expat-devel jpeg-devel
fontconfig-devel gtk+-devel librsvg-devel libXaw-devel libXt-devel libXmu-devel
libXpm-devel libltdl-devel libXrender-devel"
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 --with-qt=no
--without-devil --without-glut --without-ghoscript --with-libgd"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.graphviz.org"
license="EPL"
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
checksum=d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76
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."

post_install() {
	# intall license.
	vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname
}
