#Packager: Frédéric Galusik pkgname=mod_wsgi pkgver=3.4 pkgrel=1fg #arch=noarch source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz" "mod_wsgi.conf") sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver docs=("readme" "licence") url=http://code.google.com/p/modwsgi/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mod_wsgi (Python WSGI adapter module for Apache)" "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." ) build() { cd $SRC/$pkgname-$pkgver ./configure --prefix=/usr \ --with-apxs=/usr/bin/apxs make || return 1 make install DESTDIR=$PKG # Apache module mkdir -p $PKG/etc/httpd/extra/ # take care of lib{LIBDIRSUFFIX} sed "s@lib@lib${LIBDIRSUFFIX}@" $SRC/mod_wsgi.conf > \ $PKG/etc/httpd/extra/mod_wsgi.conf }