summaryrefslogtreecommitdiffstats
path: root/extra/graphviz/Pkgfile
diff options
context:
space:
mode:
authorOlivier DOSSMANN <blankoworld@wanadoo.fr>2009-11-21 15:39:34 +0100
committerOlivier DOSSMANN <blankoworld@wanadoo.fr>2009-11-21 15:39:34 +0100
commitb1c077a7cad06f53c762a9deb1f83924e368619e (patch)
tree911af75860946e0f0d20236ef3800de82a1b4a91 /extra/graphviz/Pkgfile
parent6d0239751235bdbb8021cc53c1686d8c7e838476 (diff)
downloadnutyx-pakxe-b1c077a7cad06f53c762a9deb1f83924e368619e.tar.gz
nutyx-pakxe-b1c077a7cad06f53c762a9deb1f83924e368619e.tar.bz2
nutyx-pakxe-b1c077a7cad06f53c762a9deb1f83924e368619e.tar.xz
nutyx-pakxe-b1c077a7cad06f53c762a9deb1f83924e368619e.zip
Ajout de graphviz#2.24.0-1
- Ajout de la dépendance libgd - Ajout de paramètres de compilation supplémentaires - Changement de la description en plus "français"
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
}