# Contributor: Matt Smith # Maintainer: Matt Smith pkgname=apache2-mod-wsgi _realname=mod_wsgi pkgver=4.6.8 pkgrel=0 pkgdesc="Python WSGI Module for Apache2" url="https://github.com/GrahamDumpleton/mod_wsgi" arch="all" license="Apache-2.0" depends="apache2 python3" makedepends="apache2-dev python3-dev" options="!check" # no tests provided 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() { CFLAGS="" CXXFLAGS="" CPPFLAGS="" \ ./configure --prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python3 make } package() { make DESTDIR="$pkgdir" install install -Dm644 "$srcdir"/$pkgname.apache2.conf \ "$pkgdir"/etc/apache2/conf.d/wsgi-module.conf install -Dm644 LICENSE \ "$pkgdir"/usr/share/doc/$pkgname/LICENSE } sha512sums="2ef93c48335035effac59b5641ea9b846e241d2e09c0d825da487cbec9d38262af096f97a11c2cc2910c4727c2aa46aa8590da458964f540cb4ac18880954e91 apache2-mod-wsgi-4.6.8.tar.gz 5b36a458bd3539e58ea61ec405c4f5c5e0001a644263b0e1f8421a5c7fc7884b6df1355674a9d9b610780b5e9db6ce66d0ae1bbc0e512ecb027c3757209152c8 apache2-mod-wsgi.apache2.conf"