2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
# Description: Ruby interpreter
|
|
|
|
# URL: http://www.ruby-lang.org
|
|
|
|
# Depends on: db, gdbm, ncurses, openssl, readline, zlib
|
|
|
|
|
|
|
|
name=ruby
|
2008-07-07 10:07:02 +02:00
|
|
|
version=1.8.7-p22
|
2006-12-06 08:06:33 +01:00
|
|
|
release=1
|
2007-03-15 17:00:41 +01:00
|
|
|
source=(ftp://ftp.ruby-lang.org/pub/$name/1.8/$name-$version.tar.bz2 \
|
2007-03-13 17:10:27 +01:00
|
|
|
$name-arch.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2007-03-13 17:10:27 +01:00
|
|
|
patch -p1 < $SRC/$name-arch.patch
|
2008-07-07 10:07:02 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2006-08-26 13:13:31 +00:00
|
|
|
--mandir=/usr/man \
|
2006-02-23 15:26:10 +00:00
|
|
|
--enable-shared \
|
|
|
|
--enable-pthread
|
2008-07-07 10:07:02 +02:00
|
|
|
make
|
2006-02-23 15:26:10 +00:00
|
|
|
make DESTDIR=$PKG install
|
2008-07-07 10:07:02 +02:00
|
|
|
|
|
|
|
chmod -x $PKG/usr/lib/ruby/1.8/linux/*.h
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|