Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
e7211ff3
Commit
e7211ff3
authored
Apr 30, 2020
by
Casey Strouse
Committed by
GitHub
Apr 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4046 from uberhacker/update-ruby-package
Update ruby from 2.5.3 to 2.7.1
parents
82e54069
f1b1a531
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
27 deletions
+32
-27
install.sh
install.sh
+16
-8
packages/ruby.rb
packages/ruby.rb
+16
-19
No files found.
install.sh
View file @
e7211ff3
...
...
@@ -50,8 +50,10 @@ case "${ARCH}" in
"aarch64"
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'fbd8a589befb3d10400af6e4975d02a6940bab4907628f8fc0d6913ea89f70ae'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.3-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'42bcf153de5343a4c131424d4e09ca7f4f8e1749a0fc2e0f632f7992ba2351b3'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-1-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'cfa05a46d37d49479047f205e3d4ab2a8c11f953ed91e11465a1195ff2d95d01'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.26.0-chromeos-armv7l.tar.xz'
)
...
...
@@ -66,8 +68,10 @@ case "${ARCH}" in
fi
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'fbd8a589befb3d10400af6e4975d02a6940bab4907628f8fc0d6913ea89f70ae'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.3-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'42bcf153de5343a4c131424d4e09ca7f4f8e1749a0fc2e0f632f7992ba2351b3'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-1-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'cfa05a46d37d49479047f205e3d4ab2a8c11f953ed91e11465a1195ff2d95d01'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.26.0-chromeos-armv7l.tar.xz'
)
...
...
@@ -78,8 +82,10 @@ case "${ARCH}" in
"i686"
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-i686.tar.xz'
)
sha256s+
=(
'4d625e92969fde16c1a92601740e22c07331f8056452edf7cf0bf2c1c88aa152'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.3-chromeos-i686.tar.xz'
)
sha256s+
=(
'6f4a5b96c31ef5ee4f09ac15da4c7a4a9d838ed5233038136ead1e155d17f342'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-i686.tar.xz'
)
sha256s+
=(
'f613572c9f9c91b79b09d008fa387ecb393be9b60d37f837ea6cdc74cdf9633b'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-i686.tar.xz'
)
sha256s+
=(
'5544e722fb76733df5fb3734db4bed818668b11fbb01f9484b1c85f78fd442c6'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-1-chromeos-i686.tar.xz'
)
sha256s+
=(
'b080cd1e667dd9efba1a4392c7c177f5b8292f1b6fc29e862634b7ad41d29ab5'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.26.0-chromeos-i686.tar.xz'
)
...
...
@@ -90,8 +96,10 @@ case "${ARCH}" in
"x86_64"
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'ae8c8c33e4090f7fdbd39b2364754dcfc5f6bdd9a74062fde3eeb6272562f48b'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.3-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'352b78fc883cf8936136991fda9ca5d49e90b2951626158d6af8ef4b58d67f97'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'a2fce2036a54b1b3ca597d4fb3ee358c9fb7b3b54ea1e3a944fc7eb35a6f8e81'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'bcce410dc64861dcb57c7e72e5eedc3df79ca94d6e0d0ee32e0d14d1fd3712c0'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-1-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'7ac97b03fff5d1befecb26ac471daa239c2c23ab1bc774a5366e6c46d1bb9ad3'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.26.0-chromeos-x86_64.tar.xz'
)
...
...
packages/ruby.rb
View file @
e7211ff3
...
...
@@ -3,21 +3,21 @@ require 'package'
class
Ruby
<
Package
description
'Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.'
homepage
'https://www.ruby-lang.org/en/'
version
'2.
5.3
'
source_url
'https://cache.ruby-lang.org/pub/ruby/2.
5/ruby-2.5.3.tar.g
z'
source_sha256
'
9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c
'
version
'2.
7.1
'
source_url
'https://cache.ruby-lang.org/pub/ruby/2.
7/ruby-2.7.1.tar.x
z'
source_sha256
'
b224f9844646cc92765df8288a46838511c1cec5b550d8874bd4686a904fcee7
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
5.3
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
5.3
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
5.3
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
5.3
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
7.1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
7.1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
7.1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.
7.1
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a
'
,
armv7l:
'
5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a
'
,
i686:
'
6f4a5b96c31ef5ee4f09ac15da4c7a4a9d838ed5233038136ead1e155d17f342
'
,
x86_64:
'
352b78fc883cf8936136991fda9ca5d49e90b2951626158d6af8ef4b58d67f97
'
,
aarch64:
'
8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8
'
,
armv7l:
'
8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8
'
,
i686:
'
5544e722fb76733df5fb3734db4bed818668b11fbb01f9484b1c85f78fd442c6
'
,
x86_64:
'
bcce410dc64861dcb57c7e72e5eedc3df79ca94d6e0d0ee32e0d14d1fd3712c0
'
,
})
depends_on
'readline'
...
...
@@ -27,18 +27,15 @@ class Ruby < Package
# at run-time, system's gmp, openssl, readline and zlibpkg are possible to use
def
self
.
build
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
,
'--enable-shared'
system
"./configure
#{
CREW_OPTIONS
}
--enable-shared"
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
def
self
.
check
system
"TMPDIR=
#{
CREW_PREFIX
}
/tmp make check"
end
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment