Commit 5b8cdbcf authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Merge pull request #4102 from uberhacker/recompile-pre-built-binaries-libmetalink-wget

Recompile pre-built binaries for libmetalink and wget
parents ac07570d 98e8e910
...@@ -4,21 +4,21 @@ require 'package' ...@@ -4,21 +4,21 @@ require 'package'
class Libmetalink < Package class Libmetalink < Package
description 'libmetalink is a Metalink library written in C language.' description 'libmetalink is a Metalink library written in C language.'
homepage 'https://launchpad.net/libmetalink/' homepage 'https://launchpad.net/libmetalink/'
version '0.1.3' version '0.1.3-1'
source_url 'https://launchpad.net/libmetalink/trunk/libmetalink-0.1.3/+download/libmetalink-0.1.3.tar.xz' source_url 'https://launchpad.net/libmetalink/trunk/libmetalink-0.1.3/+download/libmetalink-0.1.3.tar.xz'
source_sha256 '86312620c5b64c694b91f9cc355eabbd358fa92195b3e99517504076bf9fe33a' source_sha256 '86312620c5b64c694b91f9cc355eabbd358fa92195b3e99517504076bf9fe33a'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '29e31d4461af785016c7fc39dad45479e943488cdcf60a77ed06bb09ec61ea82', aarch64: '25b93f3304ee1cf1a06c582de5c053436322b08fb27a576d132130bf73ef436b',
armv7l: '29e31d4461af785016c7fc39dad45479e943488cdcf60a77ed06bb09ec61ea82', armv7l: '25b93f3304ee1cf1a06c582de5c053436322b08fb27a576d132130bf73ef436b',
i686: 'd289f088f022b0ebd91585afb9a8f12f5ffd2ad86efacfdf13aaffdfb0cb9634', i686: 'd10d7a95750b93be70f457d6c5db8935e30f85a726bf154d2953d075bd28d216',
x86_64: '26c796170ae70679c0cc6ba510b5fd94594e2436b8ae14733226e6b294762fc3', x86_64: '6e1e4b07e44e4b8cf1c436a6594f333bf339803c4c04a6c5a4f1762e00409479',
}) })
depends_on 'libxml2' depends_on 'libxml2'
...@@ -34,20 +34,15 @@ class Libmetalink < Package ...@@ -34,20 +34,15 @@ class Libmetalink < Package
end end
def self.build def self.build
system './configure', system "./configure #{CREW_OPTIONS} --with-libxml2 --disable-static --without-libexpat"
'--with-libxml2',
'--disable-static',
'--without-libexpat',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check def self.check
system 'make', 'check' system 'make', 'check'
end end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end end
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class Wget < Package class Wget < Package
description 'GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS.' description 'GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS.'
homepage 'https://www.gnu.org/software/wget/' homepage 'https://www.gnu.org/software/wget/'
version '1.20.3-1' version '1.20.3-2'
source_url 'https://ftpmirror.gnu.org/wget/wget-1.20.3.tar.lz' source_url 'https://ftpmirror.gnu.org/wget/wget-1.20.3.tar.lz'
source_sha256 '69607ce8216c2d1126b7a872db594b3f21e511e660e07ca1f81be96650932abb' source_sha256 '69607ce8216c2d1126b7a872db594b3f21e511e660e07ca1f81be96650932abb'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-2-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '65aa64df68aaf4e118e49e245aefea2212ad90ba77600e45eae3495834049346', aarch64: '09cdb1dddd02bd54e680dd2a964c7fed8bfdf4ce265246e4b7e794185e8a85e7',
armv7l: '65aa64df68aaf4e118e49e245aefea2212ad90ba77600e45eae3495834049346', armv7l: '09cdb1dddd02bd54e680dd2a964c7fed8bfdf4ce265246e4b7e794185e8a85e7',
i686: '48430293642a695f6ebe403f745d56195852fd993180edde92801d109eb2cce8', i686: 'c39c733bbc1bf34dd3c841086a02d9ff84deba16b0567a7a8c78455cfd04df23',
x86_64: 'c3d9476f3d7cc180166e3d2e5da863dd74963e41243fc96df285ac39b69d345e', x86_64: '161c5298eac67dbe5c3165294f2d7d6392ee7608b8aed75aa6c156323cbee9a1',
}) })
depends_on 'gnutls' depends_on 'gnutls'
...@@ -25,18 +25,15 @@ class Wget < Package ...@@ -25,18 +25,15 @@ class Wget < Package
depends_on 'libmetalink' depends_on 'libmetalink'
def self.build def self.build
system './configure', system "./configure #{CREW_OPTIONS} --sysconfdir=#{CREW_PREFIX}/etc"
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--sysconfdir=#{CREW_PREFIX}/etc"
system 'make' system 'make'
end end
def self.install def self.check
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' #system 'make', 'check'
end end
def self.check def self.install
system 'make', 'check' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end 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