Commit abf56923 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Update gettext from 0.19.8.1 to 0.20.1 (#3773)

Add pre-built binaries
parent 2eb63242
...@@ -3,38 +3,42 @@ require 'package' ...@@ -3,38 +3,42 @@ require 'package'
class Gettext < Package class Gettext < Package
description 'GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages.' description 'GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages.'
homepage 'https://www.gnu.org/software/gettext/' homepage 'https://www.gnu.org/software/gettext/'
version '0.19.8.1' version '0.20.1'
source_url 'ftp://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz' source_url 'https://ftpmirror.gnu.org/gnu/gettext/gettext-0.20.1.tar.xz'
source_sha256 '105556dbc5c3fbbc2aa0edb46d22d055748b6f5c7cd7a8d99f8e7eb84e938be4' source_sha256 '53f02fbbec9e798b0faaf7c73272f83608e835c6288dd58be6c9bb54624a3800'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.19.8.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.20.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.19.8.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.20.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.19.8.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.20.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.19.8.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gettext-0.20.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '5c29d433ac66fde2b411c000eae1d5c2abbc67ae493758a85c069abcd89fe166', aarch64: 'ec3dd9e2671709b47d146e60202f3a40f976e9c339670f1b86de65299efc3817',
armv7l: '5c29d433ac66fde2b411c000eae1d5c2abbc67ae493758a85c069abcd89fe166', armv7l: 'ec3dd9e2671709b47d146e60202f3a40f976e9c339670f1b86de65299efc3817',
i686: '9302b43af04acf951c709fd1118cf95b01644013804205b3cfa78f0591d146d1', i686: '52c114e0e62e8aa8a90049f9ecb2086c1249ec442e61a71256b7be86b852b3c7',
x86_64: '4853c8efad9bb6103ef58cdde7f07aedf794f7896d04d1919123aac04169cb98', x86_64: 'ee02e72b46bfaa4b7ddd4138466d5217564362a28f582f8d4042b747811c72ac',
}) })
depends_on 'diffutils' => :build
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'libxml2' depends_on 'libxml2'
depends_on 'icu4c' depends_on 'icu4c'
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic" system './configure',
system "make" "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-static',
'--enable-shared',
'--with-pic'
system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
def self.check def self.check
system "make", "check" system 'make', 'check'
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