26 lines
900 B
Bash
26 lines
900 B
Bash
# Template file for 'wget'
|
|
pkgname=wget
|
|
version=1.19.4
|
|
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="$(vopt_if ssl libressl-devel) $(vopt_if gnutls gnutls-devel)
|
|
libidn-devel libuuid-devel pcre-devel"
|
|
checkdepends="perl-HTTP-Daemon perl-IO-Socket-SSL"
|
|
depends="ca-certificates"
|
|
conf_files="/etc/wgetrc"
|
|
short_desc="The GNU wget download utility"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.gnu.org/software/wget/wget.html"
|
|
license="GPL-3"
|
|
distfiles="${GNU_SITE}/wget/wget-${version}.tar.gz"
|
|
checksum=93fb96b0f48a20ff5be0d9d9d3c4a986b469cb853131f9d5fe4cc9cecbc8b5b5
|
|
|
|
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
|
|
}
|