2010-01-21 16:17:39 +00:00
|
|
|
# Template file for 'graphviz'
|
|
|
|
pkgname=graphviz
|
2013-08-24 07:00:36 +00:00
|
|
|
version=2.32.0
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-03 13:45:24 +00:00
|
|
|
hostmakedepends="flex pkg-config"
|
2013-07-11 06:38:40 +00:00
|
|
|
makedepends="libpng-devel>=1.6 gd-devel>=2.1 gtk+-devel librsvg-devel libltdl-devel"
|
2010-01-21 16:17:39 +00:00
|
|
|
short_desc="Graph Visualization Software"
|
|
|
|
configure_args="--disable-rpath --enable-ltdl --disable-ltdl-install
|
2013-01-08 09:10:40 +00: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"
|
2010-01-21 16:17:39 +00:00
|
|
|
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"
|
2013-08-24 07:00:36 +00:00
|
|
|
checksum=d853b2313e08a1dd0cce20d9ff8051acfa9ec418b5ba2dc65c8f4ddb07a7a77a
|
2010-01-21 16:17:39 +00:00
|
|
|
|
2012-06-06 08:42:38 +00:00
|
|
|
post_install() {
|
|
|
|
# intall license.
|
|
|
|
vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname
|
2010-01-21 16:17:39 +00:00
|
|
|
}
|
2013-04-12 13:11:12 +00:00
|
|
|
|
|
|
|
graphviz-libs_package() {
|
2013-07-11 06:38:40 +00:00
|
|
|
short_desc+=" - runtime libraries"
|
2013-04-12 13:11:12 +00:00
|
|
|
replaces="graphviz<2.28.0_6"
|
|
|
|
pkg_install() {
|
2013-07-11 06:38:40 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/lib/graphviz
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
graphviz-devel_package() {
|
|
|
|
depends="graphviz-libs>=${version}"
|
2013-07-11 06:38:40 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-07-11 06:38:40 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
graphviz_package() {
|
|
|
|
pkg_install() {
|
2013-08-24 07:00:36 +00:00
|
|
|
vmove all
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|