mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-03 06:48:20 +00:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://aria2.github.io
|
|
TERMUX_PKG_DESCRIPTION="Download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.37.0"
|
|
TERMUX_PKG_SRCURL="https://github.com/aria2/aria2/releases/download/release-${TERMUX_PKG_VERSION}/aria2-${TERMUX_PKG_VERSION}.tar.xz"
|
|
TERMUX_PKG_SHA256=60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag" # As of 2022-05-11T00:08:00 no github releases are available.
|
|
TERMUX_PKG_DEPENDS="libc++, c-ares, libgnutls, libxml2, zlib"
|
|
# sqlite3 is only used for loading cookies from firefox or chrome:
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--without-openssl
|
|
--with-gnutls
|
|
--without-libuv
|
|
--without-sqlite3
|
|
--without-libssh2
|
|
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
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
if [ "$TERMUX_ARCH" = "arm" ]; then
|
|
CXXFLAGS="${CFLAGS/-Oz/-Os}"
|
|
fi
|
|
}
|