# Contributor: Matt Smith # Maintainer: Matt Smith pkgname=apache2-mod-wsgi _realname=mod_wsgi pkgver=4.5.2 pkgrel=0 pkgdesc="Python WSGI Module for Apache2" url="http://code.google.com/p/modwsgi/" arch="all" license="ASL 2.0" depends="apache2 python" depends_dev= makedepends="$depends_dev apache2-dev python-dev" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/mod_wsgi/archive/$pkgver.tar.gz $pkgname.apache2.conf" builddir="$srcdir"/$_realname-$pkgver build() { cd "$builddir" CFLAGS="" CXXFLAGS="" CPPFLAGS="" \ ./configure --prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 "$srcdir"/$pkgname.apache2.conf \ "$pkgdir"/etc/apache2/conf.d/wsgi-module.conf || return 1 install -Dm644 LICENSE \ "$pkgdir"/usr/share/doc/$pkgname/LICENSE || return 1 } md5sums="e5275a616b7677d49ffa7e568fefb5b1 apache2-mod-wsgi-4.5.2.tar.gz e1795e051e7aae1f865fde0d3b86a507 apache2-mod-wsgi.apache2.conf" sha256sums="c7684d50d53cdc24a47679b8d6a7e0bf1b7ce8fe884f8b792b99fc3e0a864e27 apache2-mod-wsgi-4.5.2.tar.gz 8196a509f90fa10b9464d1c58f4a13d558259e863ccc2761ee1e2c2fcd323f45 apache2-mod-wsgi.apache2.conf" sha512sums="973122ab18661b1fea85bf9027dbbd0db2e63df87c46a6f9926f0f19f92eafad7b150bc4c1368dc4251920ba76a63363b74047f54778f44d70293f989afc4d3c apache2-mod-wsgi-4.5.2.tar.gz 5b36a458bd3539e58ea61ec405c4f5c5e0001a644263b0e1f8421a5c7fc7884b6df1355674a9d9b610780b5e9db6ce66d0ae1bbc0e512ecb027c3757209152c8 apache2-mod-wsgi.apache2.conf"