d480cf191cb4824ede21e3544fddb8a6df4a95c8
[termux-packages] / packages / aria2 / build.sh
1 TERMUX_PKG_HOMEPAGE=https://aria2.github.io
2 TERMUX_PKG_DESCRIPTION="Download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink"
3 TERMUX_PKG_VERSION=1.32.0
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=546e9194a9135d665fce572cb93c88f30fb5601d113bfa19951107ced682dc50
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="
9 --with-openssl
10 --without-gnutls
11 --without-libuv
12 --without-sqlite3
13 ac_cv_func_basename=yes
14 ac_cv_func_getaddrinfo=yes
15 ac_cv_func_gettimeofday=yes
16 ac_cv_func_sleep=yes
17 ac_cv_func_usleep=yes
18 ac_cv_search_getaddrinfo=no
19 "