contrib/mod_wsgi/Pkgfile

21 lines
430 B
Plaintext

# Description: Python WSGI adapter module for Apache.
# URL: https://www.modwsgi.org/
# Maintainer: unmaintained
# 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
}