2006-02-23 15:26:10 +00:00
|
|
|
# Description: Ruby interpreter
|
2021-04-06 11:27:16 +02:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# URL: http://www.ruby-lang.org
|
|
|
|
# Depends on: gdbm libgmp openssl zlib libffi libyaml
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=ruby
|
2021-04-06 11:27:16 +02:00
|
|
|
version=3.0.1
|
2014-09-19 13:44:09 +02:00
|
|
|
release=1
|
2015-07-05 12:01:19 +02:00
|
|
|
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-04-06 11:27:16 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2021-04-06 11:27:16 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-install-doc \
|
|
|
|
--with-ruby-version=minor
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2021-04-06 11:27:16 +02:00
|
|
|
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
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|