27 lines
981 B
Bash
27 lines
981 B
Bash
# Template file for 'wget'
|
|
pkgname=wget
|
|
version=1.20
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_if ssl '--with-ssl=openssl') $(vopt_if gnutls '--with-ssl=gnutls')"
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="libidn-devel libuuid-devel pcre2-devel
|
|
$(vopt_if gnutls 'gnutls-devel') $(vopt_if ssl 'libressl-devel')"
|
|
depends="ca-certificates"
|
|
checkdepends="perl-HTTP-Daemon perl-IO-Socket-SSL"
|
|
short_desc="The GNU wget download utility"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-3.0-or-later"
|
|
#changelog="https://git.savannah.gnu.org/cgit/wget.git/plain/NEWS"
|
|
homepage="http://www.gnu.org/software/wget/wget.html"
|
|
distfiles="${GNU_SITE}/wget/wget-${version}.tar.gz"
|
|
checksum=8a057925c74c059d9e37de63a63b450da66c5c1c8cef869a6df420b3bb45a0cf
|
|
conf_files="/etc/wgetrc"
|
|
|
|
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
|
|
}
|