1
0
forked from ports/opt
opt/ruby/Pkgfile
2005-12-25 15:14:35 +00:00

21 lines
513 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.4
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 \
--enable-pthread
make
make DESTDIR=$PKG install
}