X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/d946e67c5b86dd990ffa0e5654b2a514b787aeb9..HEAD:/packages/graphviz/build.sh diff --git a/packages/graphviz/build.sh b/packages/graphviz/build.sh index c0d1a94e..de7d0dfe 100644 --- a/packages/graphviz/build.sh +++ b/packages/graphviz/build.sh @@ -1,17 +1,33 @@ -TERMUX_PKG_HOMEPAGE=http://www.graphviz.org/ +TERMUX_PKG_HOMEPAGE=https://www.graphviz.org/ TERMUX_PKG_DESCRIPTION="Rich set of graph drawing tools" TERMUX_PKG_MAINTAINER="Dustin DeWeese @HackerFoo" TERMUX_PKG_VERSION=2.40.1 -TERMUX_PKG_REVISION=2 -TERMUX_PKG_SRCURL=http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_REVISION=3 +TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/graphviz-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421 TERMUX_PKG_DEPENDS="libandroid-glob,libcairo,pango,libexpat,libltdl,librsvg,libgd" +TERMUX_PKG_BUILD_DEPENDS="libtool" TERMUX_PKG_BUILD_IN_SRC=yes -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-poppler=no --enable-java=no --enable-perl=no ---enable-swig=no --enable-sharp=no --enable-guile=no --enable-lua=no --enable-ocaml=no ---enable-php=no --enable-python=no --enable-r=no --enable-ruby=no --enable-tcl=no ---with-pic --with-x=no --with-pangocairo=yes ---with-ltdl-include=$TERMUX_PREFIX/include --with-ltdl-lib=$TERMUX_PREFIX/lib" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +--enable-guile=no +--enable-java=no +--enable-lua=no +--enable-ocaml=no +--enable-perl=no +--enable-php=no +--enable-python=no +--enable-r=no +--enable-ruby=no +--enable-sharp=no +--enable-swig=no +--enable-tcl=no +--with-ltdl-include=$TERMUX_PREFIX/include +--with-ltdl-lib=$TERMUX_PREFIX/lib +--with-pangocairo=yes +--with-pic +--with-poppler=no +--with-x=no +" TERMUX_PKG_RM_AFTER_INSTALL="bin/*-config share/man/man1/*-config.1" termux_step_pre_configure() { @@ -28,7 +44,8 @@ termux_step_post_make_install() { } termux_step_create_debscripts () { - echo "dot -c" > postinst + echo "#!$TERMUX_PREFIX/bin/sh" > postinst + echo "dot -c" >> postinst echo "exit 0" >> postinst chmod 0755 postinst }