# Maintainer: Markus M. May <triplem@tu.archserver.org>
# Contributor: Jeffrey Gelens <jgelens@gmail.com>
pkgname=ruby-enterprise
pkgver=1.8.7
_pkgver=2010.02
pkgrel=5
pkgdesc="Ruby Enterprise Edition is a drop-in, transparent solution for improving your Ruby on Rails website's scalability and performance, while decreasing memory usage."
arch=('i686' 'x86_64')
url="http://www.rubyenterpriseedition.com"
license=('GPL2')
depends=('openssl' 'zlib' 'readline')
# The installer does install a lot of "additional" packages, these are installed through gem, therefor
# the versions are not managed through us
provides=('ruby=1.8.7', 'rubygems=1.8.7', 'rake=0.8.7', 'passenger=3.0.0', 'fastthread=1.0.7', 
					'rack=1.2.1', 'sqlite3-ruby=1.3.2', 'mysql-ruby=2.8.1', 'pg-ruby=0.9.0',
					'rails=3.0.1')
source=(http://rubyforge.org/frs/download.php/71096/$pkgname-$pkgver-$_pkgver.tar.gz
			  ruby-enterprise.profile)
install=$pkgname.install
md5sums=('4df7b09c01adfd711b0ab76837611542'
				 '3f5ffee8ac07401b7d992d4dd1cb10cb')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}-${_pkgver}
  ./installer -a /opt/ruby-enterprise --destdir=$pkgdir
}


# vim:ts=2:sw=2:et
