void-packages/srcpkgs/wget/template

21 lines
720 B
Plaintext

# Template file for 'wget'
pkgname=wget
version=1.16.1
revision=2
build_style=gnu-configure
configure_args="--with-ssl=openssl --with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="perl"
makedepends="libressl-devel>=2.1.2 libidn-devel libuuid-devel pcre-devel"
depends="ca-certificates"
conf_files="/etc/wgetrc"
short_desc="The GNU wget download utility"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/wget/wget.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=3b834ce69366d4681f295307fce36ee14e122c4ee68a4d1291b62b0b26755a77
post_install() {
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc
}