From 45b8a06f71b8c13a52375cd3e84d470785e14ff9 Mon Sep 17 00:00:00 2001 From: Juan RP <xtraeme@gmail.com> Date: Thu, 21 Jan 2010 17:17:39 +0100 Subject: [PATCH] Added graphviz-2.26.0 build template. --HG-- extra : convert_revision : 46693a44c8f9f52ad2dde15707c0fd0a01631938 --- srcpkgs/graphviz/INSTALL | 15 +++++ srcpkgs/graphviz/REMOVE | 13 +++++ srcpkgs/graphviz/template | 70 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 16 ++++++ 4 files changed, 114 insertions(+) create mode 100644 srcpkgs/graphviz/INSTALL create mode 100644 srcpkgs/graphviz/REMOVE create mode 100644 srcpkgs/graphviz/template diff --git a/srcpkgs/graphviz/INSTALL b/srcpkgs/graphviz/INSTALL new file mode 100644 index 0000000000..226b91bcd9 --- /dev/null +++ b/srcpkgs/graphviz/INSTALL @@ -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 diff --git a/srcpkgs/graphviz/REMOVE b/srcpkgs/graphviz/REMOVE new file mode 100644 index 0000000000..6905da25de --- /dev/null +++ b/srcpkgs/graphviz/REMOVE @@ -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 diff --git a/srcpkgs/graphviz/template b/srcpkgs/graphviz/template new file mode 100644 index 0000000000..b456bdf03c --- /dev/null +++ b/srcpkgs/graphviz/template @@ -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 +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index eacb49dda3..26f365ef69 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -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