void-packages/srcpkgs/wget/template

20 lines
687 B
Text

# Template file for 'wget'
pkgname=wget
version=1.16.2
revision=2
build_style=gnu-configure
configure_args="--with-ssl=openssl"
hostmakedepends="perl pkg-config"
makedepends="libressl-devel>=2.1.4 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=311a28f211117a338501009bfaba5bfeb9cd71564a7b9ad5775b8f5f4369f972
post_install() {
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc
}