5 pkgdesc="mod_rails passenger"
7 url="http://www.modrails.com"
9 depends=('apache' 'ruby')
10 source=(http://rubyforge.org/frs/download.php/$pkgdlnr/$pkgname-$pkgver.tar.gz $pkgname.install $pkgname-install-apache2-module.patch)
12 md5sums=('b283f3be6bbbc93a94cc30f99ab0263e'
13 'bf456565863345e2505b007cb228f48a'
14 '3d04eba10c55a955c378678d5df8497f')
16 install=$pkgname.install
19 patch $srcdir/$pkgname-$pkgver/bin/passenger-install-apache2-module $startdir/passenger-install-apache2-module.patch
20 $srcdir/$pkgname-$pkgver/bin/passenger-install-apache2-module
21 mkdir -p $pkgdir/etc/httpd/modules/
22 cp $srcdir/$pkgname-$pkgver/ext/apache2/mod_passenger.so $pkgdir/etc/httpd/modules/mod_passenger.so
23 mkdir -p $pkgdir/usr/lib/passenger/
24 cp -R $srcdir/$pkgname-$pkgver/* $pkgdir/usr/lib/passenger/