Commit 7c06cf98 authored by Valery Kartel's avatar Valery Kartel Committed by Timo Teräs
Browse files

main/wget: upgrade to 1.19

parent fcb51218
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=wget
pkgver=1.18
pkgrel=1
pkgver=1.19
pkgrel=0
pkgdesc="A network utility to retrieve files from the Web"
url="http://www.gnu.org/software/wget/wget.html"
arch="all"
......@@ -12,19 +12,10 @@ makedepends="libressl-dev perl"
subpackages="$pkgname-doc"
install=""
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -39,14 +30,12 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
return 0
rm -rf "$pkgdir"/usr/lib
}
md5sums="fc2debd8399e3b933a9b226794e2a886 wget-1.18.tar.gz"
sha256sums="a00a65fab84cc46e24c53ce88c45604668a7a479276e037dc2f558e34717fb2d wget-1.18.tar.gz"
sha512sums="a6c31ea7161e5af1552713edc6d9e386e4d63e53660bedbc4b099c7a4c7bbbdfedb4fc8abea67158899dee82b6331c87b1f2a9cb14cbcbcfa6e19a7fdf26b0a1 wget-1.18.tar.gz"
md5sums="f9e928e293e4d7de73ff6f19e0c4b423 wget-1.19.tar.gz"
sha256sums="dd9523039845f69e8e945e9f2d5a38af6b1e29efa6ff53830507310235ddade8 wget-1.19.tar.gz"
sha512sums="bd71636d3fbd44fc92236f01ba76f5fee3dc2c5df0a27e0c46efde9147dce891a1225948152cfb2df6bd10a08c69eafdb8d3f5f33543653b77a259325d2c5837 wget-1.19.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment