1 # Contributor: Jacek Roszkowski <j.roszk@gmail.com>
2 pkgname=ruby1.8-passenger
6 pkgdesc="mod_rails passenger"
8 url="http://www.modrails.com"
10 depends=('ruby1.8' 'ruby1.8-rake' 'ruby1.8-fastthread' 'boost')
11 source=(http://gems.rubyforge.org/gems/$_realname-$pkgver.gem)
12 noextract=($_realname-$pkgver.gem)
16 local _gemdir="$(ruby-1.8 -rubygems -e'puts Gem.default_dir')"
17 gem-1.8 install --ignore-dependencies -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem
18 cd $pkgdir/opt/ruby1.8/lib/ruby/gems/1.8/gems/passenger-2.2.10/ext/nginx
19 /opt/ruby1.8/lib/ruby/gems/1.8/bin/rake nginx || return 1
21 md5sums=('c116ed533ef00eccaffb5a3568cdfd23')