27 lines
819 B
Text
27 lines
819 B
Text
# Template file for 'wget'
|
|
pkgname=wget
|
|
version=1.14
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-ssl=openssl --without-included-regex"
|
|
short_desc="The GNU wget utility"
|
|
maintainer="Juan RP <xtraeme@gmail.org>"
|
|
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
|
|
|
|
conf_files="/etc/wgetrc"
|
|
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
|
|
|
|
post_install() {
|
|
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" \
|
|
>> ${DESTDIR}/etc/wgetrc
|
|
}
|