void-packages/srcpkgs/graphviz/template

54 lines
2 KiB
Text

# Template file for 'graphviz'
pkgname=graphviz
version=2.28.0
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
build_style=gnu-configure
revision=2
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
--without-devil --without-glut --without-ghoscript"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76
long_desc="
Graph visualization is a way of representing structural information as
diagrams of abstract graphs and networks. Automatic graph drawing has
many important applications in software engineering, database and web
design, networking, and in visual interfaces for many other domains."
Add_dependency build flex
Add_dependency build pkg-config
Add_dependency build libpng-devel
Add_dependency build gd-devel
Add_dependency build expat-devel
Add_dependency build zlib-devel
Add_dependency build gtk+-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build libX11-devel
Add_dependency build libXpm-devel
Add_dependency build jpeg-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build librsvg-devel
Add_dependency build atk-devel
Add_dependency build libXaw-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libXt-devel
Add_dependency build libXmu-devel
Add_dependency build libXext-devel
Add_dependency build libltdl-devel
Add_dependency build libXrender-devel
Add_dependency build qt-devel
post_install()
{
# Remove unused stuff (for now).
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
install -D -m644 ${FILESDIR}/LICENSE \
${DESTDIR}/usr/share/licenses/graphviz/LICENSE
}