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
a5cfd22d
Commit
a5cfd22d
authored
Dec 30, 2020
by
satmandu
Committed by
GitHub
Dec 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ruby 3.0.0 (#4847)
parent
f3101993
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
packages/ruby.rb
packages/ruby.rb
+21
-13
No files found.
packages/ruby.rb
View file @
a5cfd22d
...
...
@@ -3,22 +3,22 @@ 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.7.2
'
version
'
3.0.0
'
compatibility
'all'
source_url
'https://cache.ruby-lang.org/pub/ruby/
2.7/ruby-2.7.2.tar.x
z'
source_sha256
'
1b95ab193cc8f5b5e59d2686cb3d5dcf1ddf2a86cb6950e0b4bdaae5040ec0d6
'
source_url
'https://cache.ruby-lang.org/pub/ruby/
3.0/ruby-3.0.0.tar.g
z'
source_sha256
'
a13ed141a1c18eb967aac1e33f4d6ad5f21be1ac543c344e0d6feeee54af8e28
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-3.0.0
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-3.0.0
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-3.0.0
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-3.0.0
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'a435e6bf7965e1a82e8842e5ea66bdd670ec9b627d785bd720d3d2652fc89f6d
'
,
armv7l:
'a435e6bf7965e1a82e8842e5ea66bdd670ec9b627d785bd720d3d2652fc89f6d
'
,
i686:
'81865864d3ba93b6cbd5dc8e1b6cb51bd2ebe854f6c01e282c1b73f379fb7ca
f'
,
x86_64:
'658808516b7a2e58f8102fd131e765aaa79f2a7c906d0330b7e883fbdc12d1a9
'
,
aarch64:
'81509c5d3585f1a0c3c7d616d9f9a0d0192c6e3276c3ddea23c3905e78e56bfc
'
,
armv7l:
'81509c5d3585f1a0c3c7d616d9f9a0d0192c6e3276c3ddea23c3905e78e56bfc
'
,
i686:
'6a624ec30b5b6f32a842ec9f686278ce239d729f9736bf1b5d74ac08a716e0e
f'
,
x86_64:
'64ab9f4df6ab0185f7f74a0deb6a809d5ba910128f730522f21079062985108f
'
,
})
depends_on
'readline'
...
...
@@ -28,12 +28,20 @@ class Ruby < Package
# at run-time, system's gmp, openssl, readline and zlibpkg are possible to use
def
self
.
build
system
"./configure
#{
CREW_OPTIONS
}
--enable-shared"
# The download from ruby-lang.org doesn't need autoconf run,
# but the download from github does.
#system "autoconf"
system
"CFLAGS='-ltinfo -flto' \
CXXFLAGS='-flto' \
optflags='-flto' \
./configure
#{
CREW_OPTIONS
}
\
--enable-shared \
--disable-fortify-source"
system
'make'
end
def
self
.
check
#system "TMPDIR=#{CREW_PREFIX}/tmp make check
"
system
"TMPDIR=
#{
CREW_PREFIX
}
/tmp make check || true
"
end
def
self
.
install
...
...
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