diff options
Diffstat (limited to 'extra/mod_wsgi/PKGBUILD')
-rw-r--r-- | extra/mod_wsgi/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/mod_wsgi/PKGBUILD b/extra/mod_wsgi/PKGBUILD new file mode 100644 index 000000000..293fcc9d5 --- /dev/null +++ b/extra/mod_wsgi/PKGBUILD @@ -0,0 +1,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') +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 +} |