47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
# Template file for 'graphviz'
|
|
pkgname=graphviz
|
|
version=2.36.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="libtool flex pkg-config libltdl-devel"
|
|
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>"
|
|
homepage="http://www.graphviz.org"
|
|
license="EPL"
|
|
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
|
|
checksum=37fd66d8def158575c75c4f6dbf536839e4ee468aa59314eb472d1aecb076361
|
|
|
|
pre_configure() {
|
|
libtoolize -f
|
|
}
|
|
|
|
post_install() {
|
|
# intall license.
|
|
vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/$pkgname
|
|
}
|
|
|
|
graphviz-libs_package() {
|
|
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}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|