termux-packages/packages/aria2/build.sh

15 lines
907 B
Bash
Raw Normal View History

2016-09-03 23:19:10 +02:00
TERMUX_PKG_HOMEPAGE=https://aria2.github.io
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Multi-protocol & multi-source command-line download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink"
2016-12-01 14:31:23 +01:00
TERMUX_PKG_VERSION=1.29.0
2016-09-03 23:19:10 +02:00
TERMUX_PKG_SRCURL=https://github.com/aria2/aria2/releases/download/release-${TERMUX_PKG_VERSION}/aria2-${TERMUX_PKG_VERSION}.tar.xz
2016-12-01 14:31:23 +01:00
TERMUX_PKG_SHA256=1a64d023e75bf61c751609ef0df198596f785f1abc371672a75d5b09bd91c82e
TERMUX_PKG_DEPENDS="c-ares, openssl, libxml2"
2015-06-13 01:03:31 +02:00
# 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"
2015-12-17 15:33:23 +01:00
termux_step_pre_configure () {
# Run autoreconf since we have patched Makefile.am:
2015-12-17 15:33:23 +01:00
cd $TERMUX_PKG_SRCDIR
autoreconf
}