mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
# Contributor: Matt Smith <mcs@darkregion.net>
|
|
# Maintainer: Matt Smith <mcs@darkregion.net>
|
|
pkgname=apache2-mod-wsgi
|
|
_realname=mod_wsgi
|
|
pkgver=4.5.24
|
|
pkgrel=0
|
|
pkgdesc="Python WSGI Module for Apache2"
|
|
url="http://code.google.com/p/modwsgi/"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
depends="apache2 python2"
|
|
makedepends=" apache2-dev python2-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() {
|
|
cd "$builddir"
|
|
CFLAGS="" CXXFLAGS="" CPPFLAGS="" \
|
|
./configure --prefix=/usr \
|
|
--with-apxs=/usr/bin/apxs \
|
|
--with-python=/usr/bin/python2
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
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="f0bcb06b089fe9711e44c8b58631cb482ec928a1345503be3f221142c80bafdb82c5eb86c36c214b728a8758180ae70ec088789255176581d6031097dead74c4 apache2-mod-wsgi-4.5.24.tar.gz
|
|
5b36a458bd3539e58ea61ec405c4f5c5e0001a644263b0e1f8421a5c7fc7884b6df1355674a9d9b610780b5e9db6ce66d0ae1bbc0e512ecb027c3757209152c8 apache2-mod-wsgi.apache2.conf"
|