Commit | Line | Data |
---|---|---|
096202f2 VM |
1 | # Maintainer: Juergen Daubert, jue at crux dot nu |
2 | # Description: Ruby interpreter | |
3 | # URL: http://www.ruby-lang.org | |
4 | # Depends on: gdbm libgmp openssl zlib libffi libyaml | |
5 | ||
6 | name=ruby | |
9150d282 | 7 | version=3.0.2 |
096202f2 VM |
8 | release=1 |
9 | source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz) | |
10 | ||
11 | build () { | |
12 | cd $name-$version | |
13 | ||
14 | ./configure --prefix=/usr \ | |
15 | --enable-shared \ | |
16 | --disable-install-doc \ | |
17 | --with-ruby-version=minor | |
18 | ||
19 | make | |
20 | make DESTDIR=$PKG install | |
21 | } |