blob: 27553a62178757c6fc84a366730d092c0560cff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 75886 2012-09-04 15:32:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=passenger
pkgver=3.0.17
pkgrel=1
_pkgdlnr=76398
pkgdesc="mod_rails passenger"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.modrails.com"
#http://rubyforge.org/frs/?group_id=5873
license=('GPL')
depends=('ruby' 'ruby-rack' 'curl')
makedepends=('apache')
install=passenger.install
options=('!emptydirs')
source=(http://rubyforge.org/frs/download.php/${_pkgdlnr}/passenger-$pkgver.tar.gz
build-fix.patch)
md5sums=('4ce8cac20e3c857bad621a6113d7268f'
'ee4699596dffb5357fdac4e3b2c98ee1')
build(){
cd $srcdir/passenger-$pkgver
# patch -p1 <$srcdir/build-fix.patch
./bin/passenger-install-apache2-module -a
rake nginx
mkdir -p $pkgdir/usr/lib/passenger/
cp -R * $pkgdir/usr/lib/passenger/
mkdir -p $pkgdir/usr/lib/httpd/modules
ln -sf /usr/lib/passenger/ext/apache2/mod_passenger.so $pkgdir/usr/lib/httpd/modules/mod_passenger.so
}
|