forked from mirrors/nixpkgs
af47bb13a5
* mod_python updated to 3.2.8, with a patch to get it to work with Apache 2.2.x. svn path=/nixpkgs/trunk/; revision=4927
30 lines
544 B
Bash
30 lines
544 B
Bash
buildInputs="$openssl $db4 $expat $perl"
|
|
source $stdenv/setup
|
|
|
|
configureFlags="\
|
|
--with-expat=$expat \
|
|
--with-z=$zlib \
|
|
--enable-mods-shared=all \
|
|
--enable-authn-alias \
|
|
--without-gdbm \
|
|
--enable-threads \
|
|
--with-devrandom=/dev/urandom"
|
|
|
|
if test $db4Support; then
|
|
configureFlags="--with-berkeley-db=$db4 $configureFlags"
|
|
fi
|
|
|
|
if test $sslSupport; then
|
|
configureFlags="--enable-ssl --with-ssl=$openssl $configureFlags"
|
|
fi
|
|
|
|
|
|
postInstall() {
|
|
echo "removing manual"
|
|
rm -rf $out/manual
|
|
}
|
|
postInstall=postInstall
|
|
|
|
|
|
genericBuild
|