contrib/mod_python/Pkgfile

25 lines
624 B
Plaintext
Raw Normal View History

2006-11-19 22:26:53 +01: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
#
# Depends on: apache, python
2006-11-14 00:01:22 +01:00
name=mod_python
version=3.2.8
release=2
source=(http://www.apache.org/dist/httpd/modpython/$name-$version.tgz \
2006-11-19 22:26:53 +01:00
configure.patch)
2006-11-14 00:01:22 +01:00
build () {
2006-11-19 22:26:53 +01:00
cd $name-$version
patch -p1 -i $SRC/configure.patch configure
2006-11-14 00:01:22 +01:00
2006-11-19 22:26:53 +01:00
./configure \
--prefix=/usr \
--with-apxs=/usr/sbin/apxs
2006-11-14 00:01:22 +01:00
2006-11-19 22:26:53 +01:00
make && make DESTDIR=$PKG install
chown -R root:root $PKG
2006-11-14 00:01:22 +01:00
}