forked from ports/contrib
19 lines
443 B
Plaintext
19 lines
443 B
Plaintext
# Description: Python WSGI adapter module for Apache.
|
|
# URL: https://www.modwsgi.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: apache python3
|
|
|
|
name=mod_wsgi
|
|
version=4.9.4
|
|
release=1
|
|
source=(https://github.com/GrahamDumpleton/$name/archive/$version.tar.gz)
|
|
|
|
build() {
|
|
cd mod_wsgi-$version
|
|
./configure --prefix=/usr PYTHON=/usr/bin/python3
|
|
make
|
|
make DESTDIR=$PKG install
|
|
chmod a-x $PKG/usr/lib/apache/mod_wsgi.so
|
|
}
|
|
|