mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 04:04:34 +02:00
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
# Contributor: Matt Smith <mcs@darkregion.net>
|
|
# Maintainer: Matt Smith <mcs@darkregion.net>
|
|
pkgname=apache2-mod-wsgi
|
|
_realname=mod_wsgi
|
|
pkgver=5.0.1
|
|
pkgrel=0
|
|
pkgdesc="Python WSGI Module for Apache2"
|
|
url="https://github.com/GrahamDumpleton/mod_wsgi"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
depends="apache2"
|
|
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="
|
|
57ffa18ec0bf26df3814a28709653d38a66a1c31a8d58f372419e29936990cfea37c60285f3d412329d8e97a764e996e3c785e4afa2eab0eaace103d076bf92f apache2-mod-wsgi-5.0.1.tar.gz
|
|
5b36a458bd3539e58ea61ec405c4f5c5e0001a644263b0e1f8421a5c7fc7884b6df1355674a9d9b610780b5e9db6ce66d0ae1bbc0e512ecb027c3757209152c8 apache2-mod-wsgi.apache2.conf
|
|
"
|