# 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.3.0
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
}
