Commit | Line | Data |
---|---|---|
891afb49 VM |
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-p194 | |
8 | release=1 | |
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 | } |