CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: updated to 3.36
[ports/opt-arm.git] / ruby / Pkgfile
CommitLineData
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
7name=ruby
abf4eb25 8version=2.4.3
891afb49 9release=1
f909f4dc 10source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz
891afb49
VM
11 $name-arch.patch)
12
13build () {
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}