summaryrefslogtreecommitdiffstats
path: root/extra/graphviz/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-21 17:08:44 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-21 17:08:44 +0100
commit2a08e0102ba24a2e245479c7415bba2ea53fc529 (patch)
treee82e6d2be8c875f5f71f6758fcae532aa4166134 /extra/graphviz/Pkgfile
parent993cf24c9474a1dbf58b6abd579d6c4884981a5b (diff)
parentb1c077a7cad06f53c762a9deb1f83924e368619e (diff)
downloadnutyx-extra-2a08e0102ba24a2e245479c7415bba2ea53fc529.tar.gz
nutyx-extra-2a08e0102ba24a2e245479c7415bba2ea53fc529.tar.bz2
nutyx-extra-2a08e0102ba24a2e245479c7415bba2ea53fc529.tar.xz
nutyx-extra-2a08e0102ba24a2e245479c7415bba2ea53fc529.zip
Merge commit 'blanko/master'
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
}