summaryrefslogtreecommitdiffstats
path: root/extra/graphviz/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/graphviz/Pkgfile')
-rw-r--r--extra/graphviz/Pkgfile33
1 files changed, 24 insertions, 9 deletions
diff --git a/extra/graphviz/Pkgfile b/extra/graphviz/Pkgfile
index 4febd30ed..43524ece7 100644
--- a/extra/graphviz/Pkgfile
+++ b/extra/graphviz/Pkgfile
@@ -1,19 +1,34 @@
-# Description: open-source de visualisation graphique
+# Description: Logiciel de visualisation de graphes
# 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
+# Depends on : expat, libpng, libjpeg, freetype, fontconfig, pango, gtk, libglade, tcl, tk, python, librsvg, libgd
name=graphviz
-version=2.20.2
+version=2.24.0
release=1
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"
-./configure --prefix=/usr
-make -j3
-make DESTDIR=$PKG install
-rm -rf $PKG/usr/share/$name/doc
+ 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
+
+ make -j3
+ make DESTDIR=$PKG install
+
+ # 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
}