2004-03-27 16:47:48 +01:00
|
|
|
buildInputs="$openssl $db4 $expat $perl"
|
|
|
|
. $stdenv/setup
|
|
|
|
|
|
|
|
configureFlags="--with-expat=$expat --enable-mods-shared=all --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
|