wget: bump version.

This commit is contained in:
Jerome Duval
2015-12-16 21:41:02 +00:00
parent 021174cee7
commit 42763a8a79
2 changed files with 14 additions and 38 deletions

View File

@@ -0,0 +1,76 @@
SUMMARY="A tool for downloading files from the internet"
DESCRIPTION="
wget is a tool that can download files from the internet through protocols \
such as HTTP, HTTPS and FTP. wget is non-interactive, so it can be called from \
scripts.
"
HOMEPAGE="http://www.gnu.org/software/wget"
SOURCE_URI="http://ftp.gnu.org/gnu/wget/wget-$portVersion.tar.gz"
CHECKSUM_SHA256="029fbb93bdc1c0c5a7507b6076a6ec2f8d34204a85aa87e5b2f61a9405b290f5"
LICENSE="GNU GPL v3"
COPYRIGHT="1996-2014 Free Software Foundation"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
wget$secondaryArchSuffix = $portVersion
cmd:wget$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcrypto$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix >= 1.2.3
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize
cmd:make
cmd:makeinfo
cmd:pod2man
cmd:gettext
cmd:find
cmd:pkg_config$secondaryArchSuffix
"
USER_SETTINGS_FILES="
settings/wgetrc
"
GLOBAL_WRITABLE_FILES="
settings/wgetrc keep-old
"
PATCHES="wget-$portVersion.patchset"
BUILD()
{
AUTOPOINT=true autoreconf -fi
runConfigure ./configure --with-ssl=openssl
make
}
INSTALL()
{
make install
# Tells wget where to find certificates
echo "ca_certificate=/boot/system/data/ssl/CARootCertificates.pem" > $settingsDir/wgetrc
}
TEST()
{
[ -d .git ] && mv .git .git-temp
make check || true
[ -d .git-temp ] && mv .git-temp .git
}