This commit is contained in:
Artur Gurgul 2025-08-01 20:11:48 +02:00
parent b3dba4542f
commit 0c98334d1c
9 changed files with 151 additions and 0 deletions

24
recipes/ruby/debian.yml Normal file
View file

@ -0,0 +1,24 @@
packages:
- autoconf
- bison
- build-essential
- libssl-dev
- libyaml-dev
- libreadline6-dev
- zlib1g-dev
- libncurses5-dev
- libffi-dev
- libgdbm6
- libgdbm-dev
- libdb-dev
- ruby
repository:
url: https://github.com/ruby/ruby.git
branch: v3_4_5
steps:
- ./autogen.sh
- ./configure --prefix=$PREFIX
- make -j"$(nproc)"
- make install

22
recipes/ruby/macos.yml Normal file
View file

@ -0,0 +1,22 @@
packages:
- openssl
- readline
- libyaml
- libffi
- autoconf
- automake
- libtool
- pkg-config
repository:
url: https://github.com/ruby/ruby.git
branch: v3_0_0
steps:
- autoconf
- ./configure --prefix=$PREFIX
# --with-openssl-dir=$(brew --prefix openssl)
# --with-readline-dir=$(brew --prefix readline)
# --with-yaml-dir=$(brew --prefix libyaml)
- make -j$(sysctl -n hw.ncpu)
- make install