Files
termux-packages/packages/wget2/build.sh
termux-pacman-bot a26e9dfbd1 gpgme: Revbump revdeps to rebuild
due to ABI change.
2023-03-22 02:19:23 +00:00

20 lines
738 B
Bash

TERMUX_PKG_HOMEPAGE=https://gitlab.com/gnuwget/wget2
TERMUX_PKG_DESCRIPTION="The successor of GNU Wget, a file and recursive website downloader"
TERMUX_PKG_LICENSE="GPL-3.0, LGPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.0.1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/wget/wget2-${TERMUX_PKG_VERSION}.tar.lz
TERMUX_PKG_SHA256=2c942fba6a547997aa7aae0053b7c46a5203e311e4e62d305d575b6d2f06411f
TERMUX_PKG_DEPENDS="brotli, gpgme, libandroid-glob, libgnutls, libiconv, libidn2, libnghttp2, pcre2, zlib, zstd"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_header_spawn_h=no
-with-openssl=no
--with-ssl=gnutls
"
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
CFLAGS+=" -DNO_INLINE_GETPASS=1"
}