CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
ruby: updated to 1.9.3-p545
[ports/opt-arm.git] / ruby / Pkgfile
... / ...
CommitLineData
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
7name=ruby
8version=1.9.3-p545
9release=1
10source=(ftp://ftp.ruby-lang.org/pub/$name/1.9/$name-$version.tar.bz2 \
11 $name-arch.patch)
12
13build () {
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}