2008-10-28 15:17:40 +00:00
|
|
|
# Template file for 'wget'
|
2008-10-28 11:45:30 +00:00
|
|
|
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"
|
2008-10-28 11:45:30 +00:00
|
|
|
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
|
2008-10-28 11:45:30 +00:00
|
|
|
|
2009-02-27 16:29:31 +00:00
|
|
|
conf_files="/etc/wgetrc"
|
2013-02-27 23:25:39 +00:00
|
|
|
depends="ca-certificates"
|
|
|
|
makedepends="perl>=0 openssl-devel libidn-devel"
|
|
|
|
crossmakedepends="openssl-devel libidn-devel"
|
|
|
|
|
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
|
|
configure_args="${configure_args}
|
|
|
|
--with-libssl-prefix=/usr/$XBPS_CROSS_TRIPLET"
|
|
|
|
fi
|
2009-03-18 09:02:43 +00:00
|
|
|
|
2012-08-10 15:17:08 +00:00
|
|
|
post_install() {
|
2011-06-22 20:15:51 +00:00
|
|
|
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" \
|
|
|
|
>> ${DESTDIR}/etc/wgetrc
|
|
|
|
}
|