diff --git a/srcpkgs/wget/template b/srcpkgs/wget/template index 839a5793614..06fb9569f69 100644 --- a/srcpkgs/wget/template +++ b/srcpkgs/wget/template @@ -1,26 +1,20 @@ # Template file for 'wget' pkgname=wget -version=1.14 -revision=3 +version=1.15 +revision=1 build_style=gnu-configure -configure_args="--with-ssl=openssl --without-included-regex" +configure_args="--with-ssl=openssl --with-libssl-prefix=${XBPS_CROSS_BASE}/usr" +hostmakedepends="perl" +makedepends="openssl-devel libidn-devel ca-certificates libuuid-devel pcre-devel" +depends="ca-certificates" +conf_files="/etc/wgetrc" short_desc="The GNU wget utility" maintainer="Juan RP " homepage="http://www.gnu.org/software/wget/wget.html" license="GPL-3" distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" -checksum=f3a6898e3a765bb94435b04a6668db9e5d19b3e90e0c69a503a2773ae936c269 - -hostmakedepends="perl" -makedepends="openssl-devel libidn-devel ca-certificates" -depends="ca-certificates" -conf_files="/etc/wgetrc" - -if [ "$CROSS_BUILD" ]; then - configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE" -fi +checksum=52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd post_install() { - echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" \ - >> ${DESTDIR}/etc/wgetrc + echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc }