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
06d99d20
Commit
06d99d20
authored
Dec 20, 2018
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert ruby back to 2.5.1
parent
c707bab3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
24 deletions
+21
-24
install.sh
install.sh
+8
-8
packages/ruby.rb
packages/ruby.rb
+13
-16
No files found.
install.sh
View file @
06d99d20
...
...
@@ -39,8 +39,8 @@ urls=()
sha256s
=()
case
"
$architecture
"
in
"aarch64"
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
3
-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'
5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'
b03154f57e2599f71b0bdd42ba3a126397eca451ccb99485615b5b0429955152
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'047163a67f3ea9e143b465087d5ea4a3d17b963c8ad3579bc27a21934d4a17ab'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.20.1-chromeos-armv7l.tar.xz'
)
...
...
@@ -53,8 +53,8 @@ case "$architecture" in
urls+
=(
'https://github.com/snailium/chrome-cross/releases/download/v1.8.1/xz-5.2.3-chromeos-armv7l.tar.gz'
)
sha256s+
=(
'4dc9f086ee7613ab0145ec0ed5ac804c80c620c92f515cb62bae8d3c508cbfe7'
)
fi
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
3
-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'
5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'
b03154f57e2599f71b0bdd42ba3a126397eca451ccb99485615b5b0429955152
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-chromeos-armv7l.tar.xz'
)
sha256s+
=(
'047163a67f3ea9e143b465087d5ea4a3d17b963c8ad3579bc27a21934d4a17ab'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.20.1-chromeos-armv7l.tar.xz'
)
...
...
@@ -63,8 +63,8 @@ case "$architecture" in
sha256s+
=(
'6fa84296583273dd9e749a2c54cb1cf688a7dab032e2528de5944a4d9777f037'
)
;;
"i686"
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
3
-chromeos-i686.tar.xz'
)
sha256s+
=(
'
8c2b4479eac4f23f8ef57b2f5fe011c4f5d8bf91a7a83c0e0ad3d3ca30ff785a
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-i686.tar.xz'
)
sha256s+
=(
'
de1d30b89fd09b6e544fe537cbbc4cdc76f4f1610b0f801ab82ce90c1dc04999
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-chromeos-i686.tar.xz'
)
sha256s+
=(
'28de005b59407d5343775296814e10272c53aedd860e0208f396cc873045c095'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.20.1-chromeos-i686.tar.xz'
)
...
...
@@ -73,8 +73,8 @@ case "$architecture" in
sha256s+
=(
'771b2d30a49dd691db8456f773da404753d368f3c31d03c682c552ea0b5eb65e'
)
;;
"x86_64"
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
3
-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'
87509c7c108fd30a280d428dea890bb522e6a5374a8ef705fc4bd3d05372b0fc
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'
2e60c9b84968f17ac796e92992a5e32b4c39291d5a0b1bb0183f43d1c784303f
'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.15-chromeos-x86_64.tar.xz'
)
sha256s+
=(
'8689ee2b4acc0440df6eec9eb0fb19aa8393b68bd64517cbca65d98041a2c7cc'
)
urls+
=(
'https://dl.bintray.com/chromebrew/chromebrew/git-2.20.1-chromeos-x86_64.tar.xz'
)
...
...
packages/ruby.rb
View file @
06d99d20
...
...
@@ -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.5.
1
'
source_url
'https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.
1.tar.x
z'
source_sha256
'
886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d
'
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.5.
1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.
1
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a
'
,
armv7l:
'
5e485a0320b298e1f5c4ff50d98c6fe6d06ad9a38d9119d580a8b469418e1e6a
'
,
i686:
'
8c2b4479eac4f23f8ef57b2f5fe011c4f5d8bf91a7a83c0e0ad3d3ca30ff785a
'
,
x86_64:
'
352b78fc883cf8936136991fda9ca5d49e90b2951626158d6af8ef4b58d67f97
'
,
aarch64:
'
b03154f57e2599f71b0bdd42ba3a126397eca451ccb99485615b5b0429955152
'
,
armv7l:
'
b03154f57e2599f71b0bdd42ba3a126397eca451ccb99485615b5b0429955152
'
,
i686:
'
de1d30b89fd09b6e544fe537cbbc4cdc76f4f1610b0f801ab82ce90c1dc04999
'
,
x86_64:
'
2e60c9b84968f17ac796e92992a5e32b4c39291d5a0b1bb0183f43d1c784303f
'
,
})
depends_on
'readline'
...
...
@@ -27,11 +27,8 @@ 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
'make'
system
"CC='gcc' ./configure --prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
--enable-shared"
system
"make"
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