void-packages/srcpkgs/wget/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

20 lines
680 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 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
}