mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 19:26:25 +02:00
Updated to Ruby 3.2.2
This commit is contained in:
parent
86d897d580
commit
6fd6faedd3
5 changed files with 34 additions and 0 deletions
20
packages/ruby/3.2.2/build.sh
vendored
Normal file
20
packages/ruby/3.2.2/build.sh
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
# Download and extract ruby
|
||||
curl "https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz" -o ruby.tar.gz
|
||||
tar xzf ruby.tar.gz --strip-components=1
|
||||
rm ruby.tar.gz
|
||||
|
||||
# Autoconf based
|
||||
./configure --prefix "$PREFIX"
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
# Cleanup
|
||||
cd ..
|
||||
rm -rf build
|
Loading…
Add table
Add a link
Reference in a new issue