summaryrefslogtreecommitdiff
path: root/ruby/Pkgfile
blob: 308f0f380b09dae54f66a267db87fa40c8239315 (plain)
    1 # Maintainer:  Juergen Daubert, jue at crux dot nu
    2 # Description: Ruby interpreter
    3 # URL:         http://www.ruby-lang.org
    4 # Depends on:  db, gdbm, ncurses, openssl, readline, zlib
    5 
    6 name=ruby
    7 version=1.9.3-p125
    8 release=2
    9 source=(ftp://ftp.ruby-lang.org/pub/$name/1.9/$name-$version.tar.bz2 \
   10         $name-arch.patch)
   11 
   12 build () {
   13     cd $name-$version
   14 
   15     patch -p0 -i $SRC/$name-arch.patch
   16 
   17     ./configure --prefix=/usr \
   18                 --mandir=/usr/man \
   19                 --enable-shared \
   20                 --disable-install-doc \
   21                 --with-ruby-version=minor 
   22 
   23     make
   24     make DESTDIR=$PKG install
   25 }

Generated by cgit