summaryrefslogtreecommitdiffstats
path: root/extra/graphviz/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/graphviz/Pkgfile')
-rw-r--r--extra/graphviz/Pkgfile25
1 files changed, 9 insertions, 16 deletions
diff --git a/extra/graphviz/Pkgfile b/extra/graphviz/Pkgfile
index 0e407953a..8bf1f5191 100644
--- a/extra/graphviz/Pkgfile
+++ b/extra/graphviz/Pkgfile
@@ -2,33 +2,26 @@
# 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, python, librsvg, libgd
+# Depends on : expat, libpng, libjpeg, freetype, fontconfig, pango, gtk, libglade, tcl, tk, python, librsvg, libgd, xorg-libxaw, ghostscript
# Run on: expat,libpng,libjpeg,freetype,fontconfig,pango,gtk,libglade,tcl,tk,python,librsvg,libgd
name=graphviz
version=2.26.3
-release=1
+release=2
source=(http://www.graphviz.org/pub/graphviz/ARCHIVE/$name-$version.tar.gz)
build () {
cd $name-$version
-
- export CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
-
- # préparation puis compilation
- ./configure --prefix=/usr \
- --without-x --with-libgd --with-libpng \
- --with-pngincludedir=/usr/include --with-pnglibdir=/usr/lib \
- --disable-lua \
- --disable-ocaml \
- --disable-perl \
- --disable-php \
- --disable-ruby \
- --disable-rpath
-
+
+ ./configure --prefix=/usr --without-gnomeui --docdir=/usr/share/doc/gvkp \
+ --disable-sharp --disable-ruby \
+ --disable-lua --disable-guile
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