updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / passenger / PKGBUILD
blobbe2ca280d4b74b29a5a5b7c07ecd736fb494e12b
1 pkgname=passenger
2 pkgver=3.0.8
3 pkgrel=0
4 pkgdlnr=75219
5 pkgdesc="mod_rails passenger"
6 arch=('i686' 'x86_64')
7 url="http://www.modrails.com"
8 license=('GPL')
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
18 build(){
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/