2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 16:26:10 +01:00
|
|
|
# Description: Ruby interpreter
|
|
|
|
# URL: http://www.ruby-lang.org
|
|
|
|
# Depends on: db, gdbm, ncurses, openssl, readline, zlib
|
|
|
|
|
|
|
|
name=ruby
|
2010-07-04 13:19:06 +02:00
|
|
|
version=1.9.1-p429
|
2010-06-03 13:44:16 +02:00
|
|
|
release=2
|
2009-06-11 21:37:27 +02:00
|
|
|
source=(ftp://ftp.ruby-lang.org/pub/$name/1.9/$name-$version.tar.bz2 \
|
2010-06-03 13:44:16 +02:00
|
|
|
$name-arch.patch $name-openssl-1.0.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2010-06-03 13:44:16 +02:00
|
|
|
patch -p1 -i $SRC/$name-openssl-1.0.patch
|
2010-07-04 13:19:06 +02:00
|
|
|
patch -p0 -i $SRC/$name-arch.patch
|
|
|
|
|
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 \
|
2010-07-04 13:19:06 +02:00
|
|
|
--with-ruby-version=minor \
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2009-06-11 21:37:27 +02:00
|
|
|
make -j1
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|