From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/mod_wsgi/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 community/mod_wsgi/PKGBUILD (limited to 'community/mod_wsgi/PKGBUILD') diff --git a/community/mod_wsgi/PKGBUILD b/community/mod_wsgi/PKGBUILD new file mode 100644 index 000000000..22c403936 --- /dev/null +++ b/community/mod_wsgi/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 79940 2012-11-15 00:36:52Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Andrea Scarpino +# Contributor: Ryan Coyner + +pkgname=mod_wsgi +pkgver=3.4 +pkgrel=2 +pkgdesc='Python WSGI adapter module for Apache' +arch=('x86_64' 'i686') +url='http://www.modwsgi.org/' +license=('APACHE') +depends=('apache' 'python') +makedepends=('setconf') +install=mod_wsgi.install +source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz") +sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') + +build() { + cd "$srcdir/$pkgbase-$pkgver" + + ./configure --prefix=/usr \ + --with-apxs=/usr/sbin/apxs \ + --with-python=/usr/bin/python + setconf Makefile LDLIBS '-lpython3 -lpthread -ldl -lutil -lm' + make +} + +package() { + cd "$srcdir/$pkgbase-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf