summaryrefslogtreecommitdiffstats
path: root/extra/graphviz/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-19 07:59:50 +0200
committersibel <lesibel@free.fr>2011-04-19 07:59:50 +0200
commit3718950fd841d664c83f0a1943bc8da8ed4e3555 (patch)
treea857f93f1b15a33d4c1d5431259a273e91d06c27 /extra/graphviz/Pkgfile
parent7cf39465f1d1d2b11149ae85d42d2d3d7085abb9 (diff)
downloadnutyx-extra-3718950fd841d664c83f0a1943bc8da8ed4e3555.tar.gz
nutyx-extra-3718950fd841d664c83f0a1943bc8da8ed4e3555.tar.bz2
nutyx-extra-3718950fd841d664c83f0a1943bc8da8ed4e3555.tar.xz
nutyx-extra-3718950fd841d664c83f0a1943bc8da8ed4e3555.zip
graphviz, 2.26.3-3
Diffstat (limited to 'extra/graphviz/Pkgfile')
-rw-r--r--extra/graphviz/Pkgfile29
1 files changed, 16 insertions, 13 deletions
diff --git a/extra/graphviz/Pkgfile b/extra/graphviz/Pkgfile
index 678fbf37f..1bb277488 100644
--- a/extra/graphviz/Pkgfile
+++ b/extra/graphviz/Pkgfile
@@ -2,7 +2,8 @@
# URL: http://www.graphviz.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: expat, libpng, libjpeg, freetype, fontconfig, pango, gtk, libglade, tcl, tk, librsvg, libgd, xorg-libxaw, ghostscript
+# 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
@@ -11,19 +12,21 @@ release=3
source=(http://www.graphviz.org/pub/graphviz/ARCHIVE/$name-$version.tar.gz)
build () {
- cd $name-$version
-
- ./configure --prefix=/usr --without-gnomeui --docdir=/usr/share/doc/gvkp \
- --disable-sharp --disable-ruby \
- --disable-lua --disable-guile
- make
- make DESTDIR=$PKG install
+ 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
+ #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
+ # 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
}