diff options
author | root <root@rshg054.dnsready.net> | 2012-11-15 01:46:35 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-15 01:46:35 -0800 |
commit | 2264379d37a6a00a3ecec1fd03c5dd4796078d49 (patch) | |
tree | c7d44781aab3d74058a981f8e9035eee06f8f5bc /community/mod_wsgi | |
parent | 6fa5f08247aef1f757f376ef12bd4a6257c124f2 (diff) |
Thu Nov 15 01:46:22 PST 2012
Diffstat (limited to 'community/mod_wsgi')
-rw-r--r-- | community/mod_wsgi/PKGBUILD | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/community/mod_wsgi/PKGBUILD b/community/mod_wsgi/PKGBUILD index 36445ed53..22c403936 100644 --- a/community/mod_wsgi/PKGBUILD +++ b/community/mod_wsgi/PKGBUILD @@ -1,28 +1,35 @@ -# $Id: PKGBUILD 79816 2012-11-13 07:48:03Z eric $ -# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# $Id: PKGBUILD 79940 2012-11-15 00:36:52Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Ryan Coyner <rcoyner@gmail.com> pkgname=mod_wsgi pkgver=3.4 -pkgrel=1 -pkgdesc="Python WSGI adapter module for Apache" -arch=('i686' 'x86_64') -url="http://www.modwsgi.org/" +pkgrel=2 +pkgdesc='Python WSGI adapter module for Apache' +arch=('x86_64' 'i686') +url='http://www.modwsgi.org/' license=('APACHE') -depends=('apache' 'python2') +depends=('apache' 'python') +makedepends=('setconf') install=mod_wsgi.install -source=("http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") -md5sums=('f42d69190ea0c337ef259cbe8d94d985') +source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz") +sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgbase-$pkgver" + ./configure --prefix=/usr \ --with-apxs=/usr/sbin/apxs \ - --with-python=/usr/bin/python2 + --with-python=/usr/bin/python + setconf Makefile LDLIBS '-lpython3 -lpthread -ldl -lutil -lm' make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "$srcdir/$pkgbase-$pkgver" + + make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: |