2008-10-28 16:17:40 +01:00
|
|
|
# Template file for 'wget'
|
2008-10-28 12:45:30 +01:00
|
|
|
pkgname=wget
|
2012-08-10 17:17:08 +02:00
|
|
|
version=1.14
|
2013-09-14 05:18:47 +02:00
|
|
|
revision=3
|
2012-08-10 17:17:08 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-ssl=openssl --without-included-regex"
|
2008-10-28 12:45:30 +01:00
|
|
|
short_desc="The GNU wget utility"
|
2011-08-10 09:22:57 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.org>"
|
|
|
|
homepage="http://www.gnu.org/software/wget/wget.html"
|
|
|
|
license="GPL-3"
|
2012-08-10 17:17:08 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
|
|
|
checksum=f3a6898e3a765bb94435b04a6668db9e5d19b3e90e0c69a503a2773ae936c269
|
2008-10-28 12:45:30 +01:00
|
|
|
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="perl"
|
2013-04-14 17:36:49 +02:00
|
|
|
makedepends="openssl-devel libidn-devel ca-certificates"
|
2013-02-28 00:25:39 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-14 17:36:49 +02:00
|
|
|
configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE"
|
2013-02-28 00:25:39 +01:00
|
|
|
fi
|
2009-03-18 10:02:43 +01:00
|
|
|
|
2012-08-10 17:17:08 +02:00
|
|
|
post_install() {
|
2011-06-22 22:15:51 +02:00
|
|
|
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" \
|
|
|
|
>> ${DESTDIR}/etc/wgetrc
|
|
|
|
}
|
2013-04-14 17:36:49 +02:00
|
|
|
|
|
|
|
wget_package() {
|
|
|
|
conf_files="/etc/wgetrc"
|
|
|
|
depends="ca-certificates"
|
|
|
|
pkg_install() {
|
2013-09-14 05:18:47 +02:00
|
|
|
vmove all
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|