void-packages/srcpkgs/graphviz/template

48 lines
1.4 KiB
Text
Raw Normal View History

# Template file for 'graphviz'
pkgname=graphviz
2014-05-06 12:21:34 +00:00
version=2.38.0
2013-08-24 07:00:36 +00:00
revision=1
build_style=gnu-configure
2014-02-08 09:38:11 +00:00
hostmakedepends="libtool flex pkg-config libltdl-devel"
2013-07-11 06:38:40 +00:00
makedepends="libpng-devel>=1.6 gd-devel>=2.1 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"
2014-05-06 12:21:34 +00:00
checksum=81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e
2014-02-08 09:38:11 +00:00
pre_configure() {
libtoolize -f
}
2012-06-06 08:42:38 +00:00
post_install() {
# intall license.
vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname
}
graphviz-libs_package() {
2013-07-11 06:38:40 +00:00
short_desc+=" - runtime libraries"
replaces="graphviz<2.28.0_6"
pkg_install() {
2013-07-11 06:38:40 +00:00
vmove "usr/lib/*.so.*"
vmove usr/lib/graphviz
}
}
graphviz-devel_package() {
2014-02-08 09:38:11 +00:00
depends="graphviz-libs>=${version}_${revision}"
2013-07-11 06:38:40 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
2013-07-11 06:38:40 +00:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}