ruby and ruby-install added

This commit is contained in:
2025-05-23 15:16:23 +02:00
parent 5aaf656da3
commit d6f6c561d6
6 changed files with 81 additions and 0 deletions

5
Programming/ruby/build Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env modbuild
pbuild::install(){
ruby-install --prefix "${PREFIX}" ruby "${V_PKG}"
}

View File

@@ -0,0 +1,16 @@
---
format: 1
ruby:
defaults:
group: Programming
relstage: stable
docfiles:
configure_args:
build_functions:
prep: []
configure: []
compile: []
versions:
3.4.4:
config:
build_requires: [ruby-install/0.10.1]

View File

@@ -0,0 +1,13 @@
#%Module1.0
module-whatis "Ruby, open source programming language"
module-url "https://www.ruby-lang.org/"
module-license "https://www.ruby-lang.org/en/about/license.txt"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Ruby is a dynamic, open source programming language with a focus on
simplicity and productivity. It has an elegant syntax that is natural
to read and easy to write.
"

19
System/ruby-install/build Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env modbuild
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
make -e install
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

View File

@@ -0,0 +1,17 @@
---
format: 1
ruby-install:
defaults:
group: System
overlay: base
relstage: stable
patch_files: []
compile_in_sourcetree: true
urls:
- url: https://github.com/postmodern/$P/releases/download/v${V_PKG}/$P-${V_PKG}.tar.gz
shasums:
ruby-install-0.10.1.tar.gz: 7f563af2bae257c006a5dba0b1976e0885d3814332cc4391eeaa88d702753289
versions:
0.10.1:
config:
build_requires: []

View File

@@ -0,0 +1,11 @@
#%Module1.0
module-whatis "Ruby installer"
module-url "https://github.com/postmodern/ruby-install"
module-license "MIT"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Installs Ruby, JRuby, TruffleRuby (native / GraalVM), or mruby.
"