2006-02-23 16:26:10 +01: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 16:26:10 +01:00
|
|
|
|
|
|
|
name=ruby
|
2023-02-09 10:46:42 +01:00
|
|
|
version=3.2.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 16:26:10 +01: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
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|