summaryrefslogtreecommitdiffstats
path: root/extra/graphviz/Pkgfile
blob: 8bf1f519121a0bce321a1225f4bfd32de1ef8002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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, 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=2
source=(http://www.graphviz.org/pub/graphviz/ARCHIVE/$name-$version.tar.gz)

build () {
  cd $name-$version
  
  ./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
}