Juergen Daubert
165d3d5853
includes one security fix, see - https://www.ruby-lang.org/en/news/2021/04/05/ruby-3-0-1-released/ - https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/
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.1
|
|
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
|
|
}
|