Added graphviz-2.26.0 build template.

--HG--
extra : convert_revision : 46693a44c8f9f52ad2dde15707c0fd0a01631938
This commit is contained in:
Juan RP 2010-01-21 17:17:39 +01:00
parent 3d7d90d7d4
commit 45b8a06f71
4 changed files with 114 additions and 0 deletions

15
srcpkgs/graphviz/INSTALL Normal file
View file

@ -0,0 +1,15 @@
#
# This script builds the dot plugin list.
#
case "${ACTION}" in
post)
echo "Building dot(1) plugin list... "
if [ -f usr/lib/graphviz/config ]; then
rm -f usr/lib/graphviz/config
fi
if [ -f usr/lib/graphviz/config6 ]; then
rm -f usr/lib/graphviz/config6
fi
usr/bin/dot -c && echo "done."
;;
esac

13
srcpkgs/graphviz/REMOVE Normal file
View file

@ -0,0 +1,13 @@
#
# This script removes dot -c generated files.
#
case "${ACTION}" in
pre)
if [ -f usr/lib/graphviz/config ]; then
rm -f usr/lib/graphviz/config
fi
if [ -f usr/lib/graphviz/config6 ]; then
rm -f usr/lib/graphviz/config6
fi
;;
esac

70
srcpkgs/graphviz/template Normal file
View file

@ -0,0 +1,70 @@
# Template file for 'graphviz'
pkgname=graphviz
version=2.26.0
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
build_style=gnu_configure
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=2f37344050de50e28dd04a625ae32f881542586ff20209e342ce17969f680691
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 run glibc
Add_dependency run libpng
Add_dependency run gd
Add_dependency run expat
Add_dependency run zlib
Add_dependency run gtk+
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run libX11
Add_dependency run libXpm
Add_dependency run jpeg
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run librsvg
Add_dependency run atk
Add_dependency run libXaw
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libXt
Add_dependency run libXmu
Add_dependency run libXext
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
post_install()
{
# Remove unused stuff (for now).
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
}

View file

@ -417,3 +417,19 @@ libcap-ng.so libcap-ng libcap-ng-devel
libhandle.so xfsprogs-libs xfsprogs-devel
libphysfs.so physfs physfs-devel
libSDL_ttf-2.0.so SDL_ttf SDL_ttf-devel
libpathplan.so graphviz
libgvc.so graphviz
libcgraph.so graphviz
libxdot.so graphviz
libgvpr.so graphviz
libcdt.so graphviz
libgraph.so graphviz
libgvplugin_core.so graphviz
libgvplugin_gdk_pixbuf.so graphviz
libgvplugin_pango.so graphviz
libgvplugin_xlib.so graphviz
libgvplugin_neato_layout.so graphviz
libgvplugin_dot_layout.so graphviz
libgvplugin_gd.so graphviz
libgvplugin_rsvg.so graphviz
libgvplugin_gtk.so graphviz