Commit fadded41 authored by Ed Reel's avatar Ed Reel

Update core packages b-s

parent e70747ac
...@@ -3,22 +3,22 @@ require 'package' ...@@ -3,22 +3,22 @@ require 'package'
class Binutils < Package class Binutils < Package
description 'The GNU Binutils are a collection of binary tools.' description 'The GNU Binutils are a collection of binary tools.'
homepage 'https://www.gnu.org/software/binutils/' homepage 'https://www.gnu.org/software/binutils/'
version '2.34' version '2.35.1'
compatibility 'all' compatibility 'all'
source_url 'https://ftpmirror.gnu.org/binutils/binutils-2.34.tar.lz' source_url 'https://ftpmirror.gnu.org/binutils/binutils-2.35.1.tar.xz'
source_sha256 '5cec79823ef596817aa57a3f470a1afa9827bf14e3583a4e445dc046cc38d29c' source_sha256 '3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.34-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.35.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.34-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.35.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.34-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.35.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.34-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.35.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'b8194c2d9448796a2c8c5a2e0be669ab32b2a2fb832b4acccff09cb417d0d91f', aarch64: 'c259bdd15e70638c5db025fb66f01272ee6125126efa66ad642ba1ca8c59ea1f',
armv7l: 'b8194c2d9448796a2c8c5a2e0be669ab32b2a2fb832b4acccff09cb417d0d91f', armv7l: 'c259bdd15e70638c5db025fb66f01272ee6125126efa66ad642ba1ca8c59ea1f',
i686: '30a101614d39a99caebd12b3037917a428c618fd4378a04c21469d201c2e9fff', i686: '49e95626126656d02074397e60137bd652d01578582243ed313ce95182ea3f68',
x86_64: 'cc790a554f99715bd5cccefd14f965d885ef2c694afd461007a7f3b37386b91b', x86_64: '31511a8be2ead994bdf00cd61d6741eff3f8b2259177ff431dca28e57d2985dd',
}) })
depends_on 'filecmd' depends_on 'filecmd'
...@@ -37,6 +37,8 @@ class Binutils < Package ...@@ -37,6 +37,8 @@ class Binutils < Package
--enable-plugins \ --enable-plugins \
--disable-bootstrap \ --disable-bootstrap \
--enable-64-bit-bfd \ --enable-64-bit-bfd \
--enable-lto \
--enable-vtable-verify \
--disable-werror" --disable-werror"
system 'make' system 'make'
end end
......
...@@ -3,22 +3,22 @@ require 'package' ...@@ -3,22 +3,22 @@ require 'package'
class Icu4c < 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.' 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/' homepage 'http://site.icu-project.org/'
version '67.1' version '68.1'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.tgz' source_url 'https://github.com/unicode-org/icu/releases/download/release-68-1/icu4c-68_1-src.tgz'
source_sha256 '94a80cd6f251a53bd2a997f6f1b5ac6653fe791dfab66e1eb0227740fb86d5dc' source_sha256 'a9f2e3d8b4434b8e53878b4308bd1e6ee51c9c7042e2b1a376abefb6fbb29f2d'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-68.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-68.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-68.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-67.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/icu4c-68.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'ce53eb65aa3a48d328bfd117ff19d442dfb585d024ed88a194753da4f57d982e', aarch64: 'b49e0c6c754f3b019d769d9c9eb54aa04f6374e25481b3c01611d886a791caed',
armv7l: 'ce53eb65aa3a48d328bfd117ff19d442dfb585d024ed88a194753da4f57d982e', armv7l: 'b49e0c6c754f3b019d769d9c9eb54aa04f6374e25481b3c01611d886a791caed',
i686: '1a561f7e4e7d1b2f5ddc5af5e75367451c16ac0370a23b379f235b8d00f85098', i686: 'cd5f09ba3b1b9f12fe553f8b52f8cacec9d5541c4f0d1fad74f6f8137c09ed99',
x86_64: '7ef9cec7a0b06d27b6dcd92c3509ff6bfb0376d5adc710b1095965843b7ed4a6', x86_64: '07ddbfffe6b0790289c741f4da5f2e8d341b5194f069ec5a5026ba85bbcfcee2',
}) })
def self.build def self.build
...@@ -37,6 +37,13 @@ class Icu4c < Package ...@@ -37,6 +37,13 @@ class Icu4c < Package
def self.install def self.install
FileUtils.cd('source') do FileUtils.cd('source') do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
# Backwards compatibility symlinks
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libicudata.so.68", "#{CREW_DEST_LIB_PREFIX}/libicudata.so.67"
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libicui18n.so.68", "#{CREW_DEST_LIB_PREFIX}/libicui18n.so.67"
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libicuio.so.68", "#{CREW_DEST_LIB_PREFIX}/libicuio.so.67"
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libicutest.so.68", "#{CREW_DEST_LIB_PREFIX}/libicutest.so.67"
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libicutu.so.68", "#{CREW_DEST_LIB_PREFIX}/libicutu.so.67"
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libicuuc.so.68", "#{CREW_DEST_LIB_PREFIX}/libicuuc.so.67"
end end
end end
end end
...@@ -3,36 +3,38 @@ require 'package' ...@@ -3,36 +3,38 @@ require 'package'
class Isl < Package class Isl < Package
description 'Integer Set Library for manipulating sets and relations of integer points bounded by linear constraints' description 'Integer Set Library for manipulating sets and relations of integer points bounded by linear constraints'
homepage 'http://isl.gforge.inria.fr/' homepage 'http://isl.gforge.inria.fr/'
version '0.20-1' version '0.23'
compatibility 'all' compatibility 'all'
source_url 'http://isl.gforge.inria.fr/isl-0.20.tar.xz' source_url 'http://isl.gforge.inria.fr/isl-0.23.tar.xz'
source_sha256 'a5596a9fb8a5b365cb612e4b9628735d6e67e9178fae134a816ae195017e77aa' source_sha256 '5efc53efaef151301f4e7dde3856b66812d8153dede24fab17673f801c8698f2'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.20-1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.23-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.20-1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.23-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.20-1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.23-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.20-1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/isl-0.23-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '9a8a172724c6d1721c9435946834e3072a2a8b92a7288845f13a37e6378028f1', aarch64: 'c552525f20ee4089d55c58cb718275ef8c5beba05f49dce6415de3a80983305e',
armv7l: '9a8a172724c6d1721c9435946834e3072a2a8b92a7288845f13a37e6378028f1', armv7l: 'c552525f20ee4089d55c58cb718275ef8c5beba05f49dce6415de3a80983305e',
i686: '964be2d6db0292809b58316e644e6d800c0a5caa7c441ab6fed1e1fa225d97e1', i686: '84ea248c0a4994146fed949afe40b2b6395bda1466d50976f0b080751d7617e4',
x86_64: '0cfc7be2bf9ab7ea4229c5f7a2da40c2365bc824b45df3dfa337dcfcb16df40b', x86_64: '870574b61938cd278848864fd861a6d25ce27723375af17c3c3108fdc1197766',
}) })
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure #{CREW_OPTIONS}"
system 'make' system 'make'
end end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "ln -s #{CREW_LIB_PREFIX}/libisl.so.19.1.0 #{CREW_DEST_LIB_PREFIX}/libisl.so.15"
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'
FileUtils.mkdir_p CREW_DEST_LIB_PREFIX
# For backwards compatibility:
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libisl.so.23.0.0", "#{CREW_DEST_LIB_PREFIX}/libisl.so.15"
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libisl.so.23.0.0", "#{CREW_DEST_LIB_PREFIX}/libisl.so.19"
end
end end
...@@ -3,31 +3,31 @@ require 'package' ...@@ -3,31 +3,31 @@ require 'package'
class Libffi < Package class Libffi < Package
description 'The libffi library provides a portable, high level programming interface to various calling conventions.' description 'The libffi library provides a portable, high level programming interface to various calling conventions.'
homepage 'https://sourceware.org/libffi/' homepage 'https://sourceware.org/libffi/'
version '3.2.1-2' version '3.3'
compatibility 'all' compatibility 'all'
source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz' source_url 'https://sourceware.org/pub/libffi/libffi-3.3.tar.gz'
source_sha256 'd06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37' source_sha256 '72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.2.1-2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.2.1-2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.2.1-2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.2.1-2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libffi-3.3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '2af9d89eeb28be4422b2a75218414de25e8d1e7c09efa9fb37660fbd6b6969bd', aarch64: '22a2ec5efcbcf5b587f34f35489ee0976f5a1ed256f47a4ac87a240f804c0d02',
armv7l: '2af9d89eeb28be4422b2a75218414de25e8d1e7c09efa9fb37660fbd6b6969bd', armv7l: '22a2ec5efcbcf5b587f34f35489ee0976f5a1ed256f47a4ac87a240f804c0d02',
i686: '32d5df74da5e018709c7c0ca7cf17504face5b951af7ed1c8267980a8ac20d6e', i686: '8041e3401d2b9721a2dd87d31aff2b1b5380f7946c092d9a3c18f573ca6422f8',
x86_64: '92d528749d53e5140e510864458a4ff46521b2c17c2311f05077707413965e9e', x86_64: 'aecc094eb0e5b961106ee3d4086f120a30555cb82b3b8263107d9cab4e6c278f',
}) })
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking" system "./configure #{CREW_OPTIONS} --enable-shared --disable-static --with-pic --disable-debug --disable-dependency-tracking"
system "make" 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
......
...@@ -3,22 +3,22 @@ require 'package' ...@@ -3,22 +3,22 @@ require 'package'
class Mandb < Package class Mandb < Package
description 'mandb is used to initialize or manually update index database caches that are usually maintained by man.' description 'mandb is used to initialize or manually update index database caches that are usually maintained by man.'
homepage 'http://man-db.nongnu.org/' homepage 'http://man-db.nongnu.org/'
version '2.9.0' version '2.9.3'
compatibility 'all' compatibility 'all'
source_url 'http://download.savannah.gnu.org/releases/man-db/man-db-2.9.0.tar.xz' source_url 'https://download.savannah.gnu.org/releases/man-db/man-db-2.9.3.tar.xz'
source_sha256 '5d4aacd9e8876d6a3203a889860c3524c293c38f04111a3350deab8a6cd3e261' source_sha256 'fa5aa11ab0692daf737e76947f45669225db310b2801a5911bceb7551c5597b8'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.9.3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '7545fe308e8b643c6c289650770392ff7499f08cf2be63f98b753c990c1d0b9b', aarch64: '8bad5f96c6b1259cf8c13e72759bf13ddbd74cb76d3ea03a330b9b3b2da7bce6',
armv7l: '7545fe308e8b643c6c289650770392ff7499f08cf2be63f98b753c990c1d0b9b', armv7l: '8bad5f96c6b1259cf8c13e72759bf13ddbd74cb76d3ea03a330b9b3b2da7bce6',
i686: 'e400afbddd2f8564e4cdee38ae17447d632c7fb9bdbd35c53b0ed653830c373d', i686: '336d1b5cd1b6d0abfafd0b9c12e925ccd3e239acca9c55b09835fe9ada917736',
x86_64: '3e898c4771564163d80eb207acbeec8ec04c8c7de25ae572c9a4de163cfa28af', x86_64: 'e6023a153a255916cda39d0598c8cfa7b38345b6c69d5bf61babd54fec66f624',
}) })
depends_on 'gdbm' depends_on 'gdbm'
......
...@@ -3,22 +3,22 @@ require 'package' ...@@ -3,22 +3,22 @@ require 'package'
class Meson < Package class Meson < Package
description 'The Meson Build System' description 'The Meson Build System'
homepage 'http://mesonbuild.com/' homepage 'http://mesonbuild.com/'
version '0.55.3' version '0.56.0'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/mesonbuild/meson/archive/0.55.3.tar.gz' source_url 'https://github.com/mesonbuild/meson/archive/0.56.0.tar.gz'
source_sha256 '2b276df50c5b13ccdbfb14d3333141e9e7985aca31b60400b3f3e0be2ee6897e' source_sha256 'a9ca7adf66dc69fbb7e583f7c7aef16b9fe56ec2874a3d58747e69a3affdf300'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.56.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.56.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.56.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.56.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'dc4075b1285709e2a3701d906a5096e7c6e721f0f1998713bec433676f5671d0', aarch64: '6908c0f971832f710fd6f03711ff1c593198bca01fc6c195aa8e596e03bc3c03',
armv7l: 'dc4075b1285709e2a3701d906a5096e7c6e721f0f1998713bec433676f5671d0', armv7l: '6908c0f971832f710fd6f03711ff1c593198bca01fc6c195aa8e596e03bc3c03',
i686: 'ca7b2fb537278a2083c536fd0208edab55adba18b90884dd47c55449c05e6250', i686: 'b63ee258889c30587a784dcfd934edf6306215b57bcfd13cd0bc00c8866de34f',
x86_64: '79921f5b27571e342c7414e34f15dff0e7a610277ace4242043f50410a363d95', x86_64: '0141299bd8810a52b23f5985cd4d4682b6b4207ecfebac86d4c58248acfb14ab',
}) })
depends_on 'ninja' depends_on 'ninja'
...@@ -27,4 +27,8 @@ class Meson < Package ...@@ -27,4 +27,8 @@ class Meson < Package
def self.install def self.install
system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}" system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
end end
def self.postinstall
system "pip3 install --upgrade --force-reinstall meson==#{version}"
end
end end
...@@ -3,67 +3,71 @@ require 'package' ...@@ -3,67 +3,71 @@ require 'package'
class Ncurses < Package class Ncurses < Package
description 'The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 (SVr4), and more.' description 'The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 (SVr4), and more.'
homepage 'https://www.gnu.org/software/ncurses/' homepage 'https://www.gnu.org/software/ncurses/'
version '6.2' version '6.2-20201205'
compatibility 'all' compatibility 'all'
source_url 'https://ftpmirror.gnu.org/ncurses/ncurses-6.2.tar.gz' source_url 'https://github.com/mirror/ncurses/archive/42259b594b5dabd37fe2bc294051d2db82e873a2.zip'
source_sha256 '30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d' source_sha256 '782bd5e77fb795f505d6ffd3e443da1cd0ffd6ebb36588a3b7e81e7da34bf340'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-20201205-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-20201205-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-20201205-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ncurses-6.2-20201205-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'e040d9c065046e107be2712904f0452720724254cc36aa7f04056246967b41b5', aarch64: '780763658f32364cdc24bef4fb8efcb14d2beba989c7c0a894bf73f3e4fccc9b',
armv7l: 'e040d9c065046e107be2712904f0452720724254cc36aa7f04056246967b41b5', armv7l: '780763658f32364cdc24bef4fb8efcb14d2beba989c7c0a894bf73f3e4fccc9b',
i686: '715c277f836a8f8f6c40736c667f63913d6e8ee005b4eb258a7a156a6b6db95a', i686: '3119323613fefd0c8c4d6f0ec6d55d2ae3ec6390aeb19eb01ca47bff4903322f',
x86_64: '7ac9b423de77550b4ac2fc82ce4d42fc694352d3911918ba265ca2472d595f38', x86_64: 'd342c29d70e7bb4405555954ee376ff72782b419025b673ee750fe7d0c9efa1f',
}) })
def self.build def self.build
# build libncursesw # build libncursesw
system "mkdir -p ncursesw_build" FileUtils.mkdir 'ncursesw_build'
Dir.chdir("ncursesw_build") do Dir.chdir 'ncursesw_build' do
system "../configure", system '../configure',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--without-normal", '--with-shared',
"--with-shared", '--with-cxx-shared',
"--with-cxx-shared", '--without-debug',
"--without-debug", '--enable-pc-files',
"--enable-pc-files",
"--with-pkg-config-libdir=#{CREW_LIB_PREFIX}/pkgconfig", "--with-pkg-config-libdir=#{CREW_LIB_PREFIX}/pkgconfig",
"--enable-widec" '--enable-widec',
system "make" '--without-tests',
'--with-termlib'
system 'make'
end end
# build libncurses # build libncurses
system "mkdir -p ncurses_build" FileUtils.mkdir 'ncurses_build'
Dir.chdir("ncurses_build") do Dir.chdir 'ncurses_build' do
system "../configure", system '../configure',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--without-normal", '--with-shared',
"--with-shared", '--with-cxx-shared',
"--with-cxx-shared", '--without-debug',
"--without-debug", '--enable-pc-files',
"--enable-pc-files",
"--with-pkg-config-libdir=#{CREW_LIB_PREFIX}/pkgconfig", "--with-pkg-config-libdir=#{CREW_LIB_PREFIX}/pkgconfig",
"--disable-db-install", '--disable-db-install',
"--without-manpages", '--without-manpages',
"--without-progs", '--without-progs',
"--without-tack" '--without-tack',
system "make" '--without-tests',
'--with-termlib'
system 'make'
end end
end end
def self.install def self.install
Dir.chdir("ncursesw_build") do Dir.chdir 'ncursesw_build' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libtinfow.so.6", "#{CREW_DEST_LIB_PREFIX}/libtinfow.so.5"
end end
Dir.chdir("ncurses_build") do Dir.chdir 'ncurses_build' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libtinfo.so.6", "#{CREW_DEST_LIB_PREFIX}/libtinfo.so.5"
end end
end end
end end
...@@ -3,60 +3,59 @@ require 'package' ...@@ -3,60 +3,59 @@ require 'package'
class Pkgconfig < Package class Pkgconfig < Package
description 'pkg-config is a helper tool used when compiling applications and libraries.' description 'pkg-config is a helper tool used when compiling applications and libraries.'
homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/' homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/'
version '0.29.2-0' version '0.29.2-1'
compatibility 'all' compatibility 'all'
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz' source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz'
source_sha256 '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591' source_sha256 '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pkgconfig-0.29.2-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '38f69777e092690dd565ce6d43bfbc6b3906d81d6547c889b8c869bca10c3d40', aarch64: '88909e28a93e6b1baf864d8ba5b2d3eb28edb9bbc8455211c0d26993562e5895',
armv7l: '38f69777e092690dd565ce6d43bfbc6b3906d81d6547c889b8c869bca10c3d40', armv7l: '88909e28a93e6b1baf864d8ba5b2d3eb28edb9bbc8455211c0d26993562e5895',
i686: '3e4407346894c23be4a9f67bea88815b0086a292ab70fea149c20ff99017103b', i686: 'a225901ea0c0236f77f308814acfdfd262a649efd1bee95f21fc5b16fa198f69',
x86_64: '9ec6d03083164dd778e3cdfc75224c4d307adad2ac93ce1a0077a14e6d6390cc', x86_64: 'e86ed00a42e902ce4364c04d01f8bb94da0e31d740025f978ddb024a06f52ec8',
}) })
depends_on 'python27' => :build
def self.build def self.build
case ARCH case ARCH
when "x86_64" when 'x86_64'
system "./configure", system './configure',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--with-internal-glib", '--with-internal-glib',
"--with-pc-path=#{CREW_PREFIX}/lib/pkgconfig:#{CREW_PREFIX}/lib64/pkgconfig:#{CREW_PREFIX}/share/pkgconfig", "--with-pc-path=#{CREW_PREFIX}/lib/pkgconfig:#{CREW_PREFIX}/lib64/pkgconfig:#{CREW_PREFIX}/share/pkgconfig",
"--with-system-include-path=/usr/include:#{CREW_PREFIX}/include", "--with-system-include-path=/usr/include:#{CREW_PREFIX}/include",
"--with-system-library-path=#{CREW_PREFIX}/lib:#{CREW_PREFIX}/lib64", "--with-system-library-path=#{CREW_PREFIX}/lib:#{CREW_PREFIX}/lib64",
"--disable-static", '--disable-static',
"--enable-shared", '--enable-shared',
"--disable-host-tool" '--disable-host-tool',
when "i686","armv7l","aarch64" '--with-libiconv=gnu'
system "./configure", when 'i686','armv7l','aarch64'
system './configure',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--with-internal-glib", '--with-internal-glib',
"--with-pc-path=#{CREW_PREFIX}/lib/pkgconfig:#{CREW_PREFIX}/share/pkgconfig", "--with-pc-path=#{CREW_PREFIX}/lib/pkgconfig:#{CREW_PREFIX}/share/pkgconfig",
"--with-system-include-path=/usr/include:#{CREW_PREFIX}/include", "--with-system-include-path=/usr/include:#{CREW_PREFIX}/include",
"--with-system-library-path=#{CREW_PREFIX}/lib", "--with-system-library-path=#{CREW_PREFIX}/lib",
"--disable-static", '--disable-static',
"--enable-shared", '--enable-shared',
"--disable-host-tool" '--disable-host-tool',
'--with-libiconv=gnu'
end end
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
...@@ -3,22 +3,22 @@ require 'package' ...@@ -3,22 +3,22 @@ require 'package'
class Setuptools < Package class Setuptools < Package
description 'Easily download, build, install, upgrade, and uninstall Python packages' description 'Easily download, build, install, upgrade, and uninstall Python packages'
homepage 'https://pypi.org/project/setuptools/' homepage 'https://pypi.org/project/setuptools/'
version '46.1.3' version '50.3.2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/pypa/setuptools/archive/v46.1.3.tar.gz' source_url 'https://github.com/pypa/setuptools/archive/v50.3.2.tar.gz'
source_sha256 '984eeb7909fa610a441711c00dc4fa5bbf3c49f9b4b5204b56b7362bdd04f397' source_sha256 '7d97c001ce9193c6d947bc584b6a19f593e1d2dd4d6c443de3b1e545875bc132'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-46.1.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-50.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-46.1.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-50.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-46.1.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-50.3.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-46.1.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/setuptools-50.3.2-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '480fa13c1f2ef97d31e08ec9da385f71034a878ec6a19ccfa7ef4fc776a12142', aarch64: 'bb3de709aa29d38537d1690bd3c3b75aa213f7afbe1e60e883d85dc926fc5aec',
armv7l: '480fa13c1f2ef97d31e08ec9da385f71034a878ec6a19ccfa7ef4fc776a12142', armv7l: 'bb3de709aa29d38537d1690bd3c3b75aa213f7afbe1e60e883d85dc926fc5aec',
i686: '758a37bddd867c069f237a6d70e56377e088391f1a75e1d81a230838aa5cd242', i686: 'bfb77f5a9fe09deefdc4cec86c8424d1f3d7d3c3e575865d0a50ed406fc4f03c',
x86_64: '58f237baeb6e5de572d63a357d8b5c92288112db572f619bb40713319692a94c', x86_64: '2900eaa2a0cda2be9c692f673e72f95cf25a6267794b170dd0f7a1b10f362bff',
}) })
depends_on 'python27' depends_on 'python27'
...@@ -29,7 +29,9 @@ class Setuptools < Package ...@@ -29,7 +29,9 @@ class Setuptools < Package
end end
def self.install def self.install
system "python2 setup.py install --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" # Now let python3 pip install and overwrite pip, leaving pip2 for python27
system "python3 setup.py install --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}" system "python3 setup.py install --root=#{CREW_DEST_DIR} --prefix=#{CREW_PREFIX}"
# Install pip for python2 using the last supported systemtools version (<=v45) for python27.
system "pip2 install setuptools==44.1.1 --root=#{CREW_DEST_DIR} --prefix=#{CREW_PREFIX}"
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