Commit a102076a authored by Ed Reel's avatar Ed Reel

Update icu4c from 62.1 to 67.1

Add pre-built binaries
parent 945b6250
......@@ -3,21 +3,21 @@ require 'package'
class Icu4c < Package
description 'ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.'
homepage 'http://site.icu-project.org/'
version '62.1'
source_url 'https://download.icu-project.org/files/icu4c/62.1/icu4c-62_1-src.tgz'
source_sha256 '3dd9868d666350dda66a6e305eecde9d479fb70b30d5b55d78a1deffb97d5aa3'
version '67.1'
source_url 'https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.tgz'
source_sha256 '94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-62.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-62.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-62.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-62.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c147083d3a6bbc5757fd0a0e01ea131a4cb0bb668ed6a3624ee811e02c21b836',
armv7l: 'c147083d3a6bbc5757fd0a0e01ea131a4cb0bb668ed6a3624ee811e02c21b836',
i686: '690dcc70dde735c24a6f26d54c41b17e78ea03dd37025ea51c2d1d300e8c88a0',
x86_64: '3ac1b0401d0af3b4357a6874bd069deb8aca472dc1bd23d455e1f90ae7736262',
aarch64: 'ce53eb65aa3a48d328bfd117ff19d442dfb585d024ed88a194753da4f57d982e',
armv7l: 'ce53eb65aa3a48d328bfd117ff19d442dfb585d024ed88a194753da4f57d982e',
i686: '1a561f7e4e7d1b2f5ddc5af5e75367451c16ac0370a23b379f235b8d00f85098',
x86_64: '7ef9cec7a0b06d27b6dcd92c3509ff6bfb0376d5adc710b1095965843b7ed4a6',
})
def self.build
......@@ -28,18 +28,14 @@ class Icu4c < Package
# discussed in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
system "sed -e '/LDFLAGSICUDT=/cLDFLAGSICUDT=' -i config/mh-linux"
end
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--without-samples",
"--without-tests"
system "make"
system "./configure #{CREW_OPTIONS} --without-samples --without-tests"
system 'make'
end
end
def self.install
FileUtils.cd('source') do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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