void-packages/srcpkgs/wget/template

33 lines
822 B
Text
Raw Normal View History

# Template file for 'wget'
pkgname=wget
2012-08-10 15:17:08 +00:00
version=1.14
2013-02-27 23:25:39 +00:00
revision=2
2012-08-10 15:17:08 +00:00
build_style=gnu-configure
configure_args="--with-ssl=openssl --without-included-regex"
short_desc="The GNU wget utility"
2011-08-10 07:22:57 +00:00
maintainer="Juan RP <xtraeme@gmail.org>"
homepage="http://www.gnu.org/software/wget/wget.html"
license="GPL-3"
2012-08-10 15:17:08 +00:00
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=f3a6898e3a765bb94435b04a6668db9e5d19b3e90e0c69a503a2773ae936c269
hostmakedepends="perl"
makedepends="openssl-devel libidn-devel ca-certificates"
2013-02-27 23:25:39 +00:00
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE"
2013-02-27 23:25:39 +00:00
fi
2012-08-10 15:17:08 +00:00
post_install() {
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" \
>> ${DESTDIR}/etc/wgetrc
}
wget_package() {
conf_files="/etc/wgetrc"
depends="ca-certificates"
pkg_install() {
vmove usr
}
}