1
0
forked from ports/contrib

27 lines
604 B
Plaintext
Raw Normal View History

2007-04-25 15:05:22 +10:00
# Description: Apache module that embeds the Python interpreter.
# URL: http://www.modpython.org
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
# Packager: James Mills, prologic at shortcircuit dot net dot au
2006-11-20 07:26:53 +10:00
#
2007-04-25 15:05:22 +10:00
# 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
release=1
source=(http://www.apache.org/dist/httpd/modpython/mod_python-$version.tgz
configure.patch)
2006-11-14 09:01:22 +10:00
2007-04-25 15:05:22 +10:00
build() {
cd mod_python-$version
patch -p1 -i $SRC/configure.patch configure
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
chown -R root:root $PKG
2006-11-14 09:01:22 +10:00
}
2007-04-25 15:05:22 +10:00