2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
# Description: Ruby interpreter
|
|
|
|
# URL: http://www.ruby-lang.org
|
2014-02-25 12:15:22 +01:00
|
|
|
# Depends on: gdbm libgmp openssl readline zlib libffi libyaml
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=ruby
|
2014-11-13 17:43:50 +01:00
|
|
|
version=2.1.5
|
2014-09-19 13:44:09 +02:00
|
|
|
release=1
|
|
|
|
source=(ftp://ftp.ruby-lang.org/pub/$name/2.1/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --prefix=/usr \
|
2006-08-26 15:13:31 +02:00
|
|
|
--mandir=/usr/man \
|
2006-02-23 16:26:10 +01:00
|
|
|
--enable-shared \
|
2009-06-11 21:37:27 +02:00
|
|
|
--disable-install-doc \
|
2014-02-25 12:15:22 +01:00
|
|
|
--with-ruby-version=minor
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2010-08-30 18:07:06 +02:00
|
|
|
make
|
2009-06-11 21:37:27 +02:00
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|