Juergen Daubert
9f8f4ab3fc
security fixes, see https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-0-4-released/
28 lines
673 B
Plaintext
28 lines
673 B
Plaintext
# Description: Ruby interpreter
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# URL: http://www.ruby-lang.org
|
|
# Depends on: gdbm libgmp openssl zlib libffi libyaml
|
|
|
|
name=ruby
|
|
version=3.0.4
|
|
release=1
|
|
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--disable-install-doc \
|
|
--with-ruby-version=minor
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/usr/share/man/man{1,5}
|
|
mv $PKG/usr/lib/ruby/3.0/bundler/man/*.1 $PKG/usr/share/man/man1
|
|
mv $PKG/usr/lib/ruby/3.0/bundler/man/*.5 $PKG/usr/share/man/man5
|
|
rm -r $PKG/usr/lib/ruby/3.0/bundler/man
|
|
}
|