2010-01-21 17:17:39 +01:00
|
|
|
# Template file for 'graphviz'
|
|
|
|
pkgname=graphviz
|
2014-05-06 14:21:34 +02:00
|
|
|
version=2.38.0
|
2015-01-17 10:09:10 +01:00
|
|
|
revision=3
|
|
|
|
replaces="graphviz-libs<2.38.0_3"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-10-12 12:32:00 +02:00
|
|
|
hostmakedepends="automake libtool flex pkg-config libltdl-devel"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libpng-devel gd-devel gtk+-devel librsvg-devel libltdl-devel"
|
2010-01-21 17:17:39 +01:00
|
|
|
short_desc="Graph Visualization Software"
|
|
|
|
configure_args="--disable-rpath --enable-ltdl --disable-ltdl-install
|
2013-01-08 10:10:40 +01:00
|
|
|
--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"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-06-06 10:42:38 +02:00
|
|
|
homepage="http://www.graphviz.org"
|
|
|
|
license="EPL"
|
|
|
|
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
|
2014-05-06 14:21:34 +02:00
|
|
|
checksum=81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e
|
2014-02-08 10:38:11 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-10-12 12:32:00 +02:00
|
|
|
autoreconf -fi
|
2014-02-08 10:38:11 +01:00
|
|
|
}
|
2012-06-06 10:42:38 +02:00
|
|
|
post_install() {
|
2014-10-12 12:32:00 +02:00
|
|
|
vlicense ${FILESDIR}/LICENSE
|
2010-01-21 17:17:39 +01:00
|
|
|
}
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
graphviz-libs_package() {
|
2013-07-11 08:38:40 +02:00
|
|
|
short_desc+=" - runtime libraries"
|
2013-04-12 15:11:12 +02:00
|
|
|
replaces="graphviz<2.28.0_6"
|
|
|
|
pkg_install() {
|
2013-07-11 08:38:40 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
graphviz-devel_package() {
|
2014-02-08 10:38:11 +01:00
|
|
|
depends="graphviz-libs>=${version}_${revision}"
|
2013-07-11 08:38:40 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-07-11 08:38:40 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|