PKGBUILDs/extra/mod_python/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
737 B
Bash

# $Id: PKGBUILD 16695 2008-10-22 02:26:36Z allan $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
pkgname=mod_python
pkgver=3.3.1
pkgrel=5
pkgdesc="an Apache module that embeds the Python interpreter within the server"
arch=('i686' 'x86_64')
license=('APACHE')
url="http://www.modpython.org/"
depends=('apache>=2.2.9-4' 'python>=2.5.2-5')
install=mod_python.install
source=(http://www.apache.org/dist/httpd/modpython/mod_python-$pkgver.tgz
compile.patch)
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np0 -i ../compile.patch || return 1
autoreconf
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('a3b0150176b726bd2833dac3a7837dc5'
'4786c158223c2d3a94f3b6e69826b522')