27 lines
661 B
Plaintext
27 lines
661 B
Plaintext
# Description: Apache module that embeds the Python interpreter.
|
|
# URL: http://www.modpython.org/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
# Depends on: apache python
|
|
|
|
name=mod_python
|
|
version=3.3.1
|
|
release=2
|
|
source=(http://www.apache.org/dist/httpd/modpython/mod_python-$version.tgz
|
|
configure.patch
|
|
mod_python-$version-apr-fix.patch)
|
|
|
|
build() {
|
|
cd mod_python-$version
|
|
patch -p 1 -i $SRC/configure.patch configure
|
|
patch -p 1 -i $SRC/mod_python-$version-apr-fix.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-apxs=/usr/sbin/apxs
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|
|
|