nixpkgs/pkgs/servers/http/apache-httpd/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

24 lines
490 B
Bash

buildInputs="$openssl $db4 $expat $perl"
source $stdenv/setup
configureFlags="--with-expat=$expat --enable-mods-shared=all --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