2004-03-27 16:47:48 +01:00
|
|
|
buildInputs="$openssl $db4 $expat $perl"
|
2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2004-03-27 16:47:48 +01:00
|
|
|
|
2006-02-28 13:01:39 +01:00
|
|
|
configureFlags="\
|
|
|
|
--with-expat=$expat \
|
|
|
|
--with-z=$zlib \
|
|
|
|
--enable-mods-shared=all \
|
|
|
|
--enable-authn-alias \
|
|
|
|
--without-gdbm \
|
|
|
|
--enable-threads \
|
|
|
|
--with-devrandom=/dev/urandom"
|
2003-11-05 13:17:48 +01:00
|
|
|
|
|
|
|
if test $db4Support; then
|
2004-03-27 16:47:48 +01:00
|
|
|
configureFlags="--with-berkeley-db=$db4 $configureFlags"
|
2003-11-05 13:17:48 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if test $sslSupport; then
|
2004-03-27 16:47:48 +01:00
|
|
|
configureFlags="--enable-ssl --with-ssl=$openssl $configureFlags"
|
2003-11-05 13:17:48 +01:00
|
|
|
fi
|
|
|
|
|
2004-03-27 16:47:48 +01:00
|
|
|
|
|
|
|
postInstall() {
|
|
|
|
echo "removing manual"
|
|
|
|
rm -rf $out/manual
|
|
|
|
}
|
|
|
|
postInstall=postInstall
|
|
|
|
|
|
|
|
|
|
|
|
genericBuild
|