From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- devel/ruby/MAKEPKG | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 devel/ruby/MAKEPKG (limited to 'devel/ruby/MAKEPKG') diff --git a/devel/ruby/MAKEPKG b/devel/ruby/MAKEPKG new file mode 100644 index 0000000..46377df --- /dev/null +++ b/devel/ruby/MAKEPKG @@ -0,0 +1,43 @@ +#!/bin/mkpkg +# description: Ruby programming language interpreter +# url: https://www.ruby-lang.org/ + +name=ruby +version=4.0.7 +release=1 +depends=(zlib libressl libffi gdbm readline) +makedeps=(autoconf rust) +source=(https://cache.ruby-lang.org/pub/ruby/4.0/ruby-$version.tar.gz) +sha256sums=( + "911ace20f90d068ca0e4dda6d0e4f0f81e52e52f2dd4f4004c721e253412e82d" +) + +patch() { + cd ruby-$version + sed -i '/-C lto=thin/d' common.mk +} + +build() { + cd ruby-$version + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib \ + --enable-shared \ + --disable-install-doc \ + --with-openssl-dir=/usr \ + --without-gmp \ + --with-opt-dir=/usr + + make RUSTC="rustc -C embed-bitcode=no" + make RUSTC="rustc -C embed-bitcode=no" DESTDIR=$PKG install +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + -- cgit v1.3.1