contrib/mod_python/Pkgfile
2006-11-14 09:01:22 +10:00

25 lines
644 B
Plaintext

# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $
# 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
# Depends on: apache, python
name=mod_python
version=3.2.8
release=2
source=(http://www.apache.org/dist/httpd/modpython/$name-$version.tgz \
configure.patch)
build () {
cd $name-$version
patch -p1 -i $SRC/configure.patch configure
./configure \
--prefix=/usr \
--with-apxs=/usr/sbin/apxs
make && make DESTDIR=$PKG install
chown -R root:root $PKG
}