1
0
forked from ports/opt
opt/ruby/Pkgfile
2005-11-17 16:42:42 +00:00

19 lines
460 B
Plaintext

# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
# Description: Ruby interpreter
# URL: http://www.ruby-lang.org
# Depends on: openssl
name=ruby
version=1.8.3
release=1
source=(ftp://ftp.ruby-lang.org/pub/$name/$name-$version.tar.gz \
$name-$version.patch)
build () {
cd $name-$version
patch -p1 < $SRC/$name-$version.patch
./configure --prefix=/usr --enable-shared
make
make DESTDIR=$PKG install
}