Added libyaml and ruby

This commit is contained in:
Alexander Hill 2025-11-30 17:12:51 -05:00
parent e2c0b29e13
commit fbd7d68db4
3 changed files with 50 additions and 0 deletions

View File

@ -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 |

View File

@ -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
}

27
sources/ruby/ruby.spec Normal file
View File

@ -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
}