diff options
| -rw-r--r-- | STATUS.md | 2 | ||||
| -rw-r--r-- | sources/libyaml/libyaml.spec | 21 | ||||
| -rw-r--r-- | sources/ruby/ruby.spec | 27 |
3 files changed, 50 insertions, 0 deletions
@@ -18,6 +18,7 @@ Definitions: | `libarchive` | Yes | Yes | | `libressl` | Yes | Yes | | `libtool` | Yes | Yes | +| `libyaml` | Yes | Yes | | `linux` | No | No | | `llvm` | No | No | | `m4` | Yes | Yes | @@ -30,5 +31,6 @@ Definitions: | `ncurses` | Yes | Yes | | `perl` | Yes | Yes | | `pkgconf` | Yes | Yes | +| `ruby` | Yes | Yes | | `xz` | Yes | Yes | | `zlib` | Yes | Yes | diff --git a/sources/libyaml/libyaml.spec b/sources/libyaml/libyaml.spec new file mode 100644 index 0000000..204685c --- /dev/null +++ b/sources/libyaml/libyaml.spec @@ -0,0 +1,21 @@ +# Maintainer: Alexander Hill <ahill@breadpudding.dev> +SRC_HASH="c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4" +SRC_NAME="libyaml" +SRC_URL="http://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz" +SRC_VERSION="0.2.5" + +build() { + tar xf ../$SRC_FILENAME + cd yaml-*/ + ./configure $TT_AUTOCONF_COMMON --disable-static + make -O -j $TT_PROCS +} + +clean() { + rm -rf yaml-*/ +} + +package() { + cd yaml-*/ + make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR +} 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 +} |
