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 | |
a9a25b2e | 8 | version=2.6.5 |
891afb49 | 9 | release=1 |
ff440eb8 | 10 | source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz) |
891afb49 VM |
11 | |
12 | build () { | |
fa207231 | 13 | cd $name-$version |
891afb49 | 14 | |
fa207231 VM |
15 | ./configure --prefix=/usr \ |
16 | --mandir=/usr/man \ | |
17 | --enable-shared \ | |
18 | --disable-install-doc \ | |
19 | --with-ruby-version=minor | |
891afb49 | 20 | |
fa207231 VM |
21 | make |
22 | make DESTDIR=$PKG install | |
891afb49 | 23 | } |