Commit | Line | Data |
---|---|---|
891afb49 | 1 | # Description: Ruby interpreter |
bbb5ba2e VM |
2 | # URL: http://www.ruby-lang.org |
3 | # Maintainer: Juergen Daubert, jue at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
e8a97544 | 5 | # Depends on: gdbm ncurses openssl readline zlib libffi libyaml |
891afb49 VM |
6 | |
7 | name=ruby | |
fa207231 | 8 | version=1.9.3-p484 |
891afb49 VM |
9 | release=1 |
10 | source=(ftp://ftp.ruby-lang.org/pub/$name/1.9/$name-$version.tar.bz2 \ | |
11 | $name-arch.patch) | |
12 | ||
13 | build () { | |
fa207231 | 14 | cd $name-$version |
891afb49 | 15 | |
fa207231 | 16 | patch -p0 -i $SRC/$name-arch.patch |
891afb49 | 17 | |
fa207231 VM |
18 | ./configure --prefix=/usr \ |
19 | --mandir=/usr/man \ | |
20 | --enable-shared \ | |
21 | --disable-install-doc \ | |
22 | --with-ruby-version=minor | |
891afb49 | 23 | |
fa207231 VM |
24 | make |
25 | make DESTDIR=$PKG install | |
891afb49 | 26 | } |