diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/mod_wsgi2 | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/mod_wsgi2')
-rw-r--r-- | community/mod_wsgi2/PKGBUILD | 35 | ||||
-rw-r--r-- | community/mod_wsgi2/mod_wsgi2.install | 16 |
2 files changed, 51 insertions, 0 deletions
diff --git a/community/mod_wsgi2/PKGBUILD b/community/mod_wsgi2/PKGBUILD new file mode 100644 index 000000000..6cdf187df --- /dev/null +++ b/community/mod_wsgi2/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 95322 2013-08-09 11:50:53Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Ryan Coyner <rcoyner@gmail.com> + +pkgname=mod_wsgi2 +pkgver=3.4 +pkgrel=4 +pkgdesc='Python2 WSGI adapter module for Apache' +arch=('x86_64' 'i686') +url='http://www.modwsgi.org/' +license=('APACHE') +depends=('apache' 'python2') +conflicts=('mod_wsgi') +install="$pkgname.install" +source=("http://modwsgi.googlecode.com/files/mod_wsgi-$pkgver.tar.gz") +sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') + +build() { + cd "$srcdir/mod_wsgi-$pkgver" + + ./configure \ + --prefix=/usr \ + --with-apxs=/usr/bin/apxs \ + --with-python=/usr/bin/python2 + make +} + +package() { + cd "$srcdir/mod_wsgi-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/mod_wsgi2/mod_wsgi2.install b/community/mod_wsgi2/mod_wsgi2.install new file mode 100644 index 000000000..a7f0290c2 --- /dev/null +++ b/community/mod_wsgi2/mod_wsgi2.install @@ -0,0 +1,16 @@ +post_install() { + 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 +} + +# vim:set ts=2 sw=2 et: |