From b1c077a7cad06f53c762a9deb1f83924e368619e Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 21 Nov 2009 15:39:34 +0100 Subject: 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" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/graphviz/Pkgfile | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'extra/graphviz/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2