diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /graphviz/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'graphviz/Pkgfile')
-rw-r--r-- | graphviz/Pkgfile | 32 |
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 +} + |