Commit 5089626b authored by Ed Reel's avatar Ed Reel

Recompile pre-built binares libmetalink and wget

parent 115ab18d
......@@ -4,21 +4,13 @@ require 'package'
class Libmetalink < Package
description 'libmetalink is a Metalink library written in C language.'
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_sha256 '86312620c5b64c694b91f9cc355eabbd358fa92195b3e99517504076bf9fe33a'
binary_url ({
aarch64: '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-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmetalink-0.1.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '29e31d4461af785016c7fc39dad45479e943488cdcf60a77ed06bb09ec61ea82',
armv7l: '29e31d4461af785016c7fc39dad45479e943488cdcf60a77ed06bb09ec61ea82',
i686: 'd289f088f022b0ebd91585afb9a8f12f5ffd2ad86efacfdf13aaffdfb0cb9634',
x86_64: '26c796170ae70679c0cc6ba510b5fd94594e2436b8ae14733226e6b294762fc3',
})
depends_on 'libxml2'
......@@ -34,20 +26,15 @@ class Libmetalink < Package
end
def self.build
system './configure',
'--with-libxml2',
'--disable-static',
'--without-libexpat',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "./configure #{CREW_OPTIONS} --with-libxml2 --disable-static --without-libexpat"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -3,21 +3,13 @@ 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-1'
version '1.20.3-2'
source_url 'https://ftpmirror.gnu.org/wget/wget-1.20.3.tar.lz'
source_sha256 '69607ce8216c2d1126b7a872db594b3f21e511e660e07ca1f81be96650932abb'
binary_url ({
aarch64: '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-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wget-1.20.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '65aa64df68aaf4e118e49e245aefea2212ad90ba77600e45eae3495834049346',
armv7l: '65aa64df68aaf4e118e49e245aefea2212ad90ba77600e45eae3495834049346',
i686: '48430293642a695f6ebe403f745d56195852fd993180edde92801d109eb2cce8',
x86_64: 'c3d9476f3d7cc180166e3d2e5da863dd74963e41243fc96df285ac39b69d345e',
})
depends_on 'gnutls'
......@@ -25,18 +17,15 @@ class Wget < Package
depends_on 'libmetalink'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--sysconfdir=#{CREW_PREFIX}/etc"
system "./configure #{CREW_OPTIONS} --sysconfdir=#{CREW_PREFIX}/etc"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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