save
This commit is contained in:
parent
b3dba4542f
commit
0c98334d1c
9 changed files with 151 additions and 0 deletions
24
recipes/ruby/debian.yml
Normal file
24
recipes/ruby/debian.yml
Normal 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
22
recipes/ruby/macos.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue