Juergen Daubert
c951764e5e
includes a security fix, see https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/
26 lines
627 B
Plaintext
26 lines
627 B
Plaintext
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Description: Ruby interpreter
|
|
# URL: http://www.ruby-lang.org
|
|
# Depends on: gdbm ncurses openssl readline zlib libffi libyaml
|
|
|
|
name=ruby
|
|
version=1.9.3-p484
|
|
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
|
|
}
|