1 TERMUX_PKG_HOMEPAGE
=https
://aria2.github.io
2 TERMUX_PKG_DESCRIPTION
="Multi-protocol & multi-source command-line download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink"
3 TERMUX_PKG_VERSION
=1.26.1
4 TERMUX_PKG_SRCURL
=https
://github.com
/aria2
/aria2
/releases
/download
/release-
${TERMUX_PKG_VERSION}/aria2-
${TERMUX_PKG_VERSION}.
tar.xz
5 TERMUX_PKG_SHA256
=f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801
6 TERMUX_PKG_DEPENDS
="c-ares, openssl, libxml2"
7 # sqlite3 is only used for loading cookies from firefox or chrome:
8 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"
10 termux_step_pre_configure
() {
11 # Run autoreconf since we have patched Makefile.am: