void-packages/srcpkgs/wget/template
2015-03-10 07:16:54 +01:00

20 lines
687 B
Bash

# Template file for 'wget'
pkgname=wget
version=1.16.3
revision=1
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=9f1c6d09d7148c1c2d9fd0ea655dcf4dcc407deb2db32d4126251ca0245cb670
post_install() {
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc
}