void-packages/srcpkgs/graphviz/template

49 lines
1.4 KiB
Text
Raw Normal View History

# Template file for 'graphviz'
pkgname=graphviz
2011-05-25 14:01:42 +00:00
version=2.28.0
revision=9
build_style=gnu-configure
2013-04-03 13:45:24 +00:00
hostmakedepends="flex pkg-config"
makedepends="libpng-devel>=1.5.10 gd-devel gtk+-devel librsvg-devel libltdl-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>"
2012-06-06 08:42:38 +00:00
homepage="http://www.graphviz.org"
license="EPL"
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
2011-05-25 14:01:42 +00:00
checksum=d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76
2012-06-06 08:42:38 +00:00
post_install() {
# intall license.
vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname
}
graphviz-libs_package() {
short_desc="${short_desc} -- runtime libraries"
replaces="graphviz<2.28.0_6"
pkg_install() {
vmove "usr/lib/*.so*"
vmove usr/lib/graphviz
}
}
graphviz-devel_package() {
depends="graphviz-libs>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
graphviz_package() {
pkg_install() {
vmove usr
}
}