summaryrefslogtreecommitdiffstats
path: root/mod_wsgi/PKGBUILD
blob: e8c426549e4b191a24f3d6945be01ec572ba74d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: Ryan Coyner <rcoyner@gmail.com>
pkgname=mod_wsgi
pkgver=2.6
pkgrel=1
pkgdesc="Python WSGI adapter module for Apache"
arch=('i686' 'x86_64')
url="http://www.modwsgi.org/"
license=('Apache')
depends=('apache>=1.3' 'python>=2.3')
install=$pkgname.install
source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('c313cd7a662024866ce3376cb5a76cf6')

build() { 
    cd "$srcdir/$pkgname-$pkgver"
    ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/python || return 1
    make || return 1
    make DESTDIR="$pkgdir" install || return 1
}