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