diff options
author | davidovski <david@davidovski.xyz> | 2022-04-04 12:10:43 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-04 12:10:43 +0100 |
commit | 92790a96688344c9f6fd6dadbaad73c1f88804a0 (patch) | |
tree | d6a1357a110475d8f6e39040aeae02920696e827 /repo/util/graphviz.xibuild | |
parent | d093bc7b86a8ef1f149ac413d3d40d3cb728ad21 (diff) |
fixed network manager
Diffstat (limited to 'repo/util/graphviz.xibuild')
-rw-r--r-- | repo/util/graphviz.xibuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/repo/util/graphviz.xibuild b/repo/util/graphviz.xibuild new file mode 100644 index 0000000..1a701b2 --- /dev/null +++ b/repo/util/graphviz.xibuild @@ -0,0 +1,60 @@ +#!/bin/sh + +MAKEDEPS="make flex swig m4 libtool libxaw bison lua tcl autoconf automake bash" +DEPS="cairo expat glib libx11 musl pango zlib" + +PKG_VER=2.50.0 +SOURCE=https://gitlab.com/graphviz/graphviz/-/archive/$PKG_VER/graphviz-$PKG_VER.tar.gz +DESC="Graph Visualization Tools" + + +prepare () { + ./autogen.sh NOCONFIG +} + +build () { + CONFIG_SHELL=/bin/bash \ + LIBPOSTFIX=/ \ + LUA=lua \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-silent-rules \ + --disable-static \ + --disable-dependency-tracking \ + --enable-ltdl \ + --enable-sharp=no \ + --enable-go=no \ + --enable-guile=no \ + --enable-java=no \ + --enable-lua=yes \ + --enable-ocaml=no \ + --enable-perl=no \ + --enable-php=no \ + --enable-python=yes \ + --enable-r=no \ + --enable-ruby=no \ + --enable-tcl=no \ + --with-x \ + --with-rsvg=yes \ + --with-pangocairo=yes \ + --with-gdk-pixbuf=yes \ + --with-libgd=no \ + --with-ipsepcola=yes + + sed -i -e '/HAVE_SINCOS/d' config.h + + make + +} + +package () { + make -j1 DESTDIR="$PKG_DEST" \ + pkgconfigdir=/usr/lib/pkgconfig \ + install + + mkdir -p "$PKG_DEST"/usr/share/doc + mv "$PKG_DEST"/usr/share/graphviz/doc \ + "$PKG_DEST"/usr/share/doc/graphviz + +} |