28 lines
991 B
Bash
28 lines
991 B
Bash
# Template file for 'wget'
|
|
pkgname=wget
|
|
version=1.24.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_if ssl '--with-ssl=openssl') $(vopt_if gnutls '--with-ssl=gnutls')"
|
|
conf_files="/etc/wgetrc"
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="libidn2-devel zlib-devel libuuid-devel pcre2-devel
|
|
$(vopt_if gnutls 'gnutls-devel') $(vopt_if ssl 'openssl-devel')"
|
|
depends="ca-certificates"
|
|
checkdepends="perl-HTTP-Daemon perl-IO-Socket-SSL"
|
|
short_desc="GNU wget download utility"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnu.org/software/wget/wget.html"
|
|
changelog="https://git.savannah.gnu.org/cgit/wget.git/plain/NEWS"
|
|
distfiles="${GNU_SITE}/wget/wget-${version}.tar.gz"
|
|
checksum=fa2dc35bab5184ecbc46a9ef83def2aaaa3f4c9f3c97d4bd19dcb07d4da637de
|
|
|
|
build_options="gnutls ssl"
|
|
build_options_default="ssl"
|
|
vopt_conflict gnutls ssl
|
|
|
|
post_install() {
|
|
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc
|
|
}
|