void-packages/srcpkgs/graphviz/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

44 lines
1.4 KiB
Bash

# Template file for 'graphviz'
pkgname=graphviz
version=2.38.0
revision=3
replaces="graphviz-libs<2.38.0_3"
build_style=gnu-configure
hostmakedepends="automake libtool flex pkg-config libltdl-devel"
makedepends="libpng-devel 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>"
homepage="http://www.graphviz.org"
license="EPL"
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
checksum=81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense ${FILESDIR}/LICENSE
}
graphviz-libs_package() {
short_desc+=" - runtime libraries"
replaces="graphviz<2.28.0_6"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
graphviz-devel_package() {
depends="graphviz-libs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}