opt/ruby/Pkgfile
Juergen Daubert 673b595105 [notify] ruby: new dependency libyaml
to avoid warnings and get a sane gem system, ruby should be
build with libyaml support.

- install opt/libyaml before doing the ruby update

Thanks to Danny for providing the libyaml port.
2013-03-07 12:28:41 +01:00

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-p385
release=2
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
}