summaryrefslogtreecommitdiff
path: root/extra/mod_wsgi/PKGBUILD
blob: 3579695e70de35c96958d401ab4807f772dc7cc5 (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
# $Id: PKGBUILD 102102 2010-12-06 00:38:58Z ibiru $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Ryan Coyner <rcoyner@gmail.com>

pkgname=mod_wsgi
pkgver=3.3
pkgrel=2
pkgdesc="Python WSGI adapter module for Apache"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.modwsgi.org/"
license=('APACHE')
depends=('apache' 'python2')
install=mod_wsgi.install
source=(http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('6172bb2bbabcd0c25867c2bc06f99dbb')
sha1sums=('f32d38e5d3ed5de1efd5abefb52678f833dc9166')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --with-apxs=/usr/sbin/apxs \
    --with-python=/usr/bin/python2
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}