blob: 23b666460e4234b4baf0c45f8ae1032dd665655c (
plain)
1 # Description: Graph visualization software
2 # URL: https://www.graphviz.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: libtool libgd pango
5
6 name=graphviz
7 version=2.49.2
8 release=1
9 source=(https://gitlab.com/graphviz/graphviz/-/archive/$version/$name-$version.tar.bz2)
10
11 build() {
12 cd $name-$version
13
14 # build fails if swig is installed but tcl is not
15 prt-get isinst swig && ! prt-get isinst tcl && PKGMK_GRAPHVIZ='--disable-swig'
16 # no support for php 8 yet
17 prt-get isinst php && PKGMK_GRAPHVIZ+=' --disable-php'
18
19 ./autogen.sh
20 ./configure --prefix=/usr $PKGMK_GRAPHVIZ
21 make
22 make DESTDIR=$PKG install
23
24 # lefty is disabled by default
25 rm -rf $PKG/usr/share/graphviz/lefty/
26 rm -r $PKG/usr/share/graphviz/doc
27 }
|