2008-04-11 12:42:46 +10:00
|
|
|
# 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
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=mod_python
|
2007-04-25 15:05:22 +10:00
|
|
|
version=3.3.1
|
2008-07-01 16:57:46 +10:00
|
|
|
release=2
|
2007-04-25 15:05:22 +10:00
|
|
|
source=(http://www.apache.org/dist/httpd/modpython/mod_python-$version.tgz
|
2008-07-01 16:57:46 +10:00
|
|
|
configure.patch
|
|
|
|
mod_python-$version-apr-fix.patch)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2007-04-25 15:05:22 +10:00
|
|
|
build() {
|
|
|
|
cd mod_python-$version
|
2008-07-01 16:57:46 +10:00
|
|
|
patch -p 1 -i $SRC/configure.patch configure
|
|
|
|
patch -p 1 -i $SRC/mod_python-$version-apr-fix.patch
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2007-04-25 15:05:22 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-apxs=/usr/sbin/apxs
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2007-04-25 15:05:22 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|
2007-04-25 15:05:22 +10:00
|
|
|
|