From 4fa129a201ce4488a9c40e77fb1b630726d43d68 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 1 May 2010 01:43:25 +0200 Subject: [PATCH] Added mod_wsgi-3.2 build template. --HG-- extra : convert_revision : 8db9e8f5e94e5082d16b92214f875882c18d3791 --- srcpkgs/mod_wsgi/INSTALL | 20 ++++++++++++++++++++ srcpkgs/mod_wsgi/template | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/mod_wsgi/INSTALL create mode 100644 srcpkgs/mod_wsgi/template diff --git a/srcpkgs/mod_wsgi/INSTALL b/srcpkgs/mod_wsgi/INSTALL new file mode 100644 index 0000000000..4025385200 --- /dev/null +++ b/srcpkgs/mod_wsgi/INSTALL @@ -0,0 +1,20 @@ +# Instructions for loading mod_wsgi. +# +case "${ACTION}" in +post) + cat << _EOF +========================================================================== + +To enable ${PKGNAME} in the Apache HTTP server, add the following line +into /etc/httpd/httpd.conf: + + LoadModule wsgi_module modules/mod_wsgi.so + +and reload the Apache daemon with: + + $ /etc/init.d/apache reload + +========================================================================== +_EOF + ;; +esac diff --git a/srcpkgs/mod_wsgi/template b/srcpkgs/mod_wsgi/template new file mode 100644 index 0000000000..ccb80aafc1 --- /dev/null +++ b/srcpkgs/mod_wsgi/template @@ -0,0 +1,17 @@ +# Template file for 'mod_wsgi' +pkgname=mod_wsgi +version=3.2 +distfiles="http://modwsgi.googlecode.com/files/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="Python WSGI adapter module for Apache" +maintainer="Juan RP " +checksum=0f7394bee6894587df023a382fc35b23913cb4a4faca18394380fe8f921e030a +long_desc=" + The aim of mod_wsgi is to implement a simple to use Apache module which can + host any Python application which supports the Python WSGI interface. The + module would be suitable for use in hosting high performance production web + sites, as well as your average self managed personal sites running on web + hosting services." + +Add_dependency run glibc +Add_dependency full python