aboutsummaryrefslogtreecommitdiff
path: root/extra/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ruby')
-rwxr-xr-xextra/ruby/build3
-rw-r--r--extra/ruby/checksums3
-rw-r--r--extra/ruby/depends5
-rw-r--r--extra/ruby/meta3
-rw-r--r--extra/ruby/sources2
-rw-r--r--extra/ruby/version2
6 files changed, 15 insertions, 3 deletions
diff --git a/extra/ruby/build b/extra/ruby/build
index 39bf9881..9e60677f 100755
--- a/extra/ruby/build
+++ b/extra/ruby/build
@@ -1,5 +1,8 @@
#!/bin/sh -e
+# 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 \
--enable-shared \
diff --git a/extra/ruby/checksums b/extra/ruby/checksums
index 860441d6..2a529aff 100644
--- a/extra/ruby/checksums
+++ b/extra/ruby/checksums
@@ -1 +1,2 @@
-6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4 ruby-2.7.2.tar.gz
+%BLAKE3
+06823aedf01e4c20ab22c0c4ac2a2b410f9325c531ffcf7a7bc04312c8f5cb16 ruby-3.2.2.tar.xz?no_extract
diff --git a/extra/ruby/depends b/extra/ruby/depends
new file mode 100644
index 00000000..416f7939
--- /dev/null
+++ b/extra/ruby/depends
@@ -0,0 +1,5 @@
+busybox make
+libffi make
+libressl
+libyaml
+zlib
diff --git a/extra/ruby/meta b/extra/ruby/meta
new file mode 100644
index 00000000..d24a7920
--- /dev/null
+++ b/extra/ruby/meta
@@ -0,0 +1,3 @@
+description: Ruby programming language
+license: Ruby, BSD-2-Clause
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/ruby/sources b/extra/ruby/sources
index 7456fa6e..e1f10607 100644
--- a/extra/ruby/sources
+++ b/extra/ruby/sources
@@ -1 +1 @@
-https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.gz
+https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.xz?no_extract
diff --git a/extra/ruby/version b/extra/ruby/version
index cceb5c82..7744049d 100644
--- a/extra/ruby/version
+++ b/extra/ruby/version
@@ -1 +1 @@
-2.7.2 1
+3.2.2 1