Commit d23248d0 authored by satmandu's avatar satmandu Committed by GitHub

wget => 1.21.1 (#4990)

parent fcc1db6b
......@@ -3,22 +3,23 @@ require 'package'
class Wget < Package
description 'GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS.'
homepage 'https://www.gnu.org/software/wget/'
version '1.20.3-3'
@_ver = '1.21.1'
version @_ver
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/wget/wget-1.20.3.tar.lz'
source_sha256 '69607ce8216c2d1126b7a872db594b3f21e511e660e07ca1f81be96650932abb'
source_url "https://ftpmirror.gnu.org/wget/wget-#{@_ver}.tar.lz"
source_sha256 'db9bbe5347e6faa06fc78805eeb808b268979455ead9003a608569c9d4fc90ad'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-3-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.21.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.21.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.21.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.21.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '012955ab603d520c74bf0f6d2761003262267a59546d6adaff7e2a54d4202b8c',
armv7l: '012955ab603d520c74bf0f6d2761003262267a59546d6adaff7e2a54d4202b8c',
i686: '160dd00e2155870635a429bc357e2501475f1e11a5606279708a6d760224e9ff',
x86_64: '0edcd103db1895d1b599f4eed350541c40ab742b846ea4e6935987e8c296ea49',
aarch64: 'c365e53c36d6927b761ed7c1293f2506e289d13694fa5de9882087e5444cf185',
armv7l: 'c365e53c36d6927b761ed7c1293f2506e289d13694fa5de9882087e5444cf185',
i686: '399d68710cf8bb0924cad818f85bb38c2ba3d68d2a3dff494f21e9727a7069fe',
x86_64: '583bd6f6a1f1aacbd0faafcd5d9ffa6405825ea2c0d41aa7bd2e134a8a67f6c4',
})
depends_on 'gnutls'
......@@ -28,7 +29,7 @@ class Wget < Package
depends_on 'pcre2'
def self.build
system "./configure #{CREW_OPTIONS} --sysconfdir=#{CREW_PREFIX}/etc"
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' ./configure #{CREW_OPTIONS} --sysconfdir=#{CREW_PREFIX}/etc"
system 'make'
end
......
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