diff options
| author | Alexander Hill <ahill@breadpudding.dev> | 2025-11-30 17:12:51 -0500 |
|---|---|---|
| committer | Alexander Hill <ahill@breadpudding.dev> | 2025-11-30 17:12:51 -0500 |
| commit | fbd7d68db484292c3cf386967103101c83276057 (patch) | |
| tree | f00579e2a98095aeeb8661a17a2c5f5354aca7f2 /sources/ruby/ruby.spec | |
| parent | e2c0b29e13e20c30c863da4f2c1d39eabec6c683 (diff) | |
Added libyaml and ruby
Diffstat (limited to 'sources/ruby/ruby.spec')
| -rw-r--r-- | sources/ruby/ruby.spec | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sources/ruby/ruby.spec b/sources/ruby/ruby.spec new file mode 100644 index 0000000..7866fe5 --- /dev/null +++ b/sources/ruby/ruby.spec @@ -0,0 +1,27 @@ +# Maintainer: Alexander Hill <ahill@breadpudding.dev> +SRC_HASH="23815a6d095696f7919090fdc3e2f9459b2c83d57224b2e446ce1f5f7333ef36" +SRC_NAME="ruby" +SRC_URL="https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.7.tar.gz" +SRC_VERSION="3.4.7" + +build() { + tar xf ../$SRC_FILENAME + cd ruby-*/ + ./autogen.sh + ./configure $TT_AUTOCONF_COMMON \ + --disable-install-static-library \ + --enable-shared \ + --enable-year2038 \ + --with-destdir=$TT_INSTALLDIR \ + --without-gcc + make -O -j $TT_PROCS +} + +clean() { + rm -rf ruby-*/ +} + +package() { + cd ruby-*/ + make -O -j $TT_PROCS install +} |
