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
|
2023-09-18 18:15:04 +02:00
|
|
|
# Depends on: expat libtool zlib
|
|
|
|
# Optional: ghostscript gtk libgd librsvg libxrender pango poppler swig tcl
|
2021-01-14 12:45:58 +01:00
|
|
|
|
|
|
|
name=graphviz
|
2024-04-29 19:44:33 +02:00
|
|
|
version=11.0.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'
|
|
|
|
|
2023-04-08 12:05:50 +02:00
|
|
|
./autogen.sh NOCONFIG
|
2024-02-27 09:43:30 +01:00
|
|
|
CONFIG_SHELL=/bin/bash \
|
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
|
|
|
|
2022-06-05 11:17:39 +02:00
|
|
|
rm -r $PKG/usr/share/doc
|
2021-01-14 12:45:58 +01:00
|
|
|
}
|