diff options
author | root <root@rshg054.dnsready.net> | 2012-10-15 00:36:27 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-15 00:36:27 -0700 |
commit | e9dd04abd0ede1143ea4af10059e37c2f599e1fd (patch) | |
tree | 349cdcd294bfe80d37acf0f2c9a189c7d3bc6386 /testing | |
parent | 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (diff) |
Mon Oct 15 00:36:26 PDT 2012
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mod_wsgi/PKGBUILD | 28 | ||||
-rw-r--r-- | testing/mod_wsgi/mod_wsgi.install | 14 |
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/mod_wsgi/PKGBUILD b/testing/mod_wsgi/PKGBUILD new file mode 100644 index 000000000..24c2d0767 --- /dev/null +++ b/testing/mod_wsgi/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 168687 2012-10-14 04:16:02Z eric $ +# Maintainer: 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/" +license=('APACHE') +depends=('apache' 'python2') +install=mod_wsgi.install +source=("http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") +md5sums=('f42d69190ea0c337ef259cbe8d94d985') + +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 +} diff --git a/testing/mod_wsgi/mod_wsgi.install b/testing/mod_wsgi/mod_wsgi.install new file mode 100644 index 000000000..d26d61631 --- /dev/null +++ b/testing/mod_wsgi/mod_wsgi.install @@ -0,0 +1,14 @@ +post_install() { +/bin/cat << ENDOFMESSAGE +==> +==> +==> To install mod_wsgi, add the following line in +==> /etc/httpd/conf/httpd.conf file : +==> +==> LoadModule wsgi_module modules/mod_wsgi.so +==> +==> and restart/reload Apache. +==> +==> +ENDOFMESSAGE +} |