2021-01-14 12:45:58 +01:00
|
|
|
# Description: Graph visualization software
|
2021-02-16 14:25:23 +01:00
|
|
|
# URL: https://www.graphviz.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: libtool libgd pango
|
2021-01-14 12:45:58 +01:00
|
|
|
|
|
|
|
name=graphviz
|
2021-12-07 15:55:57 +01:00
|
|
|
version=2.50.0
|
2021-07-24 15:00:10 +02:00
|
|
|
release=1
|
2021-01-20 11:53:49 +01:00
|
|
|
source=(https://gitlab.com/graphviz/graphviz/-/archive/$version/$name-$version.tar.bz2)
|
2021-01-14 12:45:58 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2021-02-17 14:12:32 +01:00
|
|
|
|
|
|
|
# build fails if swig is installed but tcl is not
|
|
|
|
prt-get isinst swig && ! prt-get isinst tcl && PKGMK_GRAPHVIZ='--disable-swig'
|
2021-06-27 11:29:39 +02:00
|
|
|
# no support for php 8 yet
|
|
|
|
prt-get isinst php && PKGMK_GRAPHVIZ+=' --disable-php'
|
2021-02-17 14:12:32 +01:00
|
|
|
|
2021-01-20 11:53:49 +01:00
|
|
|
./autogen.sh
|
2021-02-17 14:12:32 +01:00
|
|
|
./configure --prefix=/usr $PKGMK_GRAPHVIZ
|
2021-03-17 12:00:44 +01:00
|
|
|
make
|
2021-01-14 12:45:58 +01:00
|
|
|
make DESTDIR=$PKG install
|
2021-02-17 14:12:32 +01:00
|
|
|
|
2021-10-20 11:50:20 +02:00
|
|
|
# lefty is disabled by default
|
|
|
|
rm -rf $PKG/usr/share/graphviz/lefty/
|
2021-01-14 12:45:58 +01:00
|
|
|
rm -r $PKG/usr/share/graphviz/doc
|
|
|
|
}
|