| 1 | # Description: Ruby interpreter |
| 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 |
| 5 | # Depends on: gdbm ncurses openssl readline zlib libffi libyaml |
| 6 | |
| 7 | name=ruby |
| 8 | version=1.9.3-p545 |
| 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 () { |
| 14 | cd $name-$version |
| 15 | |
| 16 | patch -p0 -i $SRC/$name-arch.patch |
| 17 | |
| 18 | ./configure --prefix=/usr \ |
| 19 | --mandir=/usr/man \ |
| 20 | --enable-shared \ |
| 21 | --disable-install-doc \ |
| 22 | --with-ruby-version=minor |
| 23 | |
| 24 | make |
| 25 | make DESTDIR=$PKG install |
| 26 | } |