aboutsummaryrefslogtreecommitdiff
path: root/extra/ruby
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-09-04 11:08:42 +0300
committerCem Keylan <cem@ckyln.com>2022-09-04 11:08:42 +0300
commit04e9c9e8970ef0cabddafbdd85a78c4653456459 (patch)
tree0841ca0a31f6f69e8720ee9e4d1de7c286cbf142 /extra/ruby
parent782faf731b5952b335de4d734deeb4835f53e4b0 (diff)
downloadrepository-04e9c9e8970ef0cabddafbdd85a78c4653456459.tar.gz
ruby: change back to old source
Diffstat (limited to 'extra/ruby')
-rwxr-xr-xextra/ruby/build3
-rw-r--r--extra/ruby/checksums2
-rw-r--r--extra/ruby/depends2
-rw-r--r--extra/ruby/sources2
4 files changed, 5 insertions, 4 deletions
diff --git a/extra/ruby/build b/extra/ruby/build
index 592d5d0a..9e60677f 100755
--- a/extra/ruby/build
+++ b/extra/ruby/build
@@ -1,6 +1,7 @@
#!/bin/sh -e
-autoreconf -fi
+# There is a problem with the archive format so we can't extract it with pax.
+busybox tar -xJ --strip-components 1 -f "ruby-$2.tar.xz?no_extract"
./configure \
--prefix=/usr \
diff --git a/extra/ruby/checksums b/extra/ruby/checksums
index a9d22fb6..599f7da9 100644
--- a/extra/ruby/checksums
+++ b/extra/ruby/checksums
@@ -1,2 +1,2 @@
%BLAKE3
-1f0ee8525c6be53e316c926d8fb1953269398dcf3cff048da9343bb07ec1523d v3_1_2.tar.gz
+c409bd218182deee2f7266b1354661ea5c3c09e44a1c1902742d235098f5a185 ruby-3.1.2.tar.xz?no_extract
diff --git a/extra/ruby/depends b/extra/ruby/depends
index 4b9d8581..e60c7b4c 100644
--- a/extra/ruby/depends
+++ b/extra/ruby/depends
@@ -1,4 +1,4 @@
-autoconf make
+busybox make
libffi make
libressl
zlib
diff --git a/extra/ruby/sources b/extra/ruby/sources
index 31f90161..4ee9c150 100644
--- a/extra/ruby/sources
+++ b/extra/ruby/sources
@@ -1 +1 @@
-https://github.com/ruby/ruby/archive/refs/tags/v3_1_2.tar.gz
+https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.xz?no_extract