summaryrefslogtreecommitdiffstats
path: root/graphviz/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'graphviz/Pkgfile')
-rw-r--r--graphviz/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphviz/Pkgfile b/graphviz/Pkgfile
new file mode 100644
index 000000000..1bb277488
--- /dev/null
+++ b/graphviz/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Logiciel de visualisation de graphes
+# URL: http://www.graphviz.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: ruby, expat, libpng, libjpeg, freetype, fontconfig, pango, gtk, libglade, tcl, tk, librsvg, libgd, xorg-libxaw, ghostscript
+
+# Run on: expat,libpng,libjpeg,freetype,fontconfig,pango,gtk,libglade,tcl,tk,librsvg,libgd
+
+name=graphviz
+version=2.26.3
+release=3
+source=(http://www.graphviz.org/pub/graphviz/ARCHIVE/$name-$version.tar.gz)
+
+build () {
+ cd $name-$version
+
+ sed -i "/RUBY_INCLUDES=\"/s|\"$| `eval echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,}`\"|" configure
+ sed -i '/LIBPOSTFIX="64"/d' configure
+ export PYTHON=python2
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+
+ #Fix a wrong file location for x86_64
+ rm -rf $PKG/usr/lib64
+
+ # pas de code de démo, ni de documentation
+ rm -rf $PKG/usr/share/$name/demo \
+ $PKG/usr/man/man/ $PKG/usr/share/$name/doc
+}
+