Juergen Daubert
166c8fbd9e
Security fix, see http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/
26 lines
628 B
Plaintext
26 lines
628 B
Plaintext
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Description: Ruby interpreter
|
|
# URL: http://www.ruby-lang.org
|
|
# Depends on: db, gdbm, ncurses, openssl, readline, zlib, libffi
|
|
|
|
name=ruby
|
|
version=1.9.3-p286
|
|
release=1
|
|
source=(ftp://ftp.ruby-lang.org/pub/$name/1.9/$name-$version.tar.bz2 \
|
|
$name-arch.patch)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
patch -p0 -i $SRC/$name-arch.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-shared \
|
|
--disable-install-doc \
|
|
--with-ruby-version=minor
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|