X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/a904f85549fdc34dc52730bd5058113b26099b77..0d2991c980a7427fddfae81b93092c33620c1575:/packages/aria2/build.sh?ds=sidebyside diff --git a/packages/aria2/build.sh b/packages/aria2/build.sh index 4b97dfd8..15232e95 100644 --- a/packages/aria2/build.sh +++ b/packages/aria2/build.sh @@ -1,14 +1,19 @@ -TERMUX_PKG_HOMEPAGE=http://aria2.sourceforge.net/ -TERMUX_PKG_DESCRIPTION="Multi-protocol & multi-source command-line download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink" -TERMUX_PKG_VERSION=1.22.0 -TERMUX_PKG_SRCURL=https://github.com/tatsuhiro-t/aria2/releases/download/release-$TERMUX_PKG_VERSION/aria2-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_DEPENDS="c-ares, openssl, libxml2, libgnustl" +TERMUX_PKG_HOMEPAGE=https://aria2.github.io +TERMUX_PKG_DESCRIPTION="Download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink" +TERMUX_PKG_VERSION=1.33.1 +TERMUX_PKG_SHA256=2539e4844f55a1f1f5c46ad42744335266053a69162e964d9a2d80a362c75e1b +TERMUX_PKG_SRCURL=https://github.com/aria2/aria2/releases/download/release-${TERMUX_PKG_VERSION}/aria2-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_DEPENDS="c-ares, openssl, libxml2" # sqlite3 is only used for loading cookies from firefox or chrome: -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssl --without-gnutls --without-libuv --without-sqlite3 ac_cv_search_getaddrinfo=no ac_cv_func_getaddrinfo=yes ac_cv_func_gettimeofday=yes ac_cv_func_sleep=yes ac_cv_func_usleep=yes ac_cv_func_basename=yes" - -termux_step_pre_configure () { - export CXXFLAGS="$CXXFLAGS -lgnustl_shared" - # Run autoreconf since we have patched Makefile.am: - cd $TERMUX_PKG_SRCDIR - autoreconf -} +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +--with-openssl +--without-gnutls +--without-libuv +--without-sqlite3 +ac_cv_func_basename=yes +ac_cv_func_getaddrinfo=yes +ac_cv_func_gettimeofday=yes +ac_cv_func_sleep=yes +ac_cv_func_usleep=yes +ac_cv_search_getaddrinfo=no +"