nixpkgs-suyu/pkgs/servers/http/apache-httpd/builder.sh
Eelco Dolstra ee40be39a4 * Upgrade to 2.0.49.
svn path=/nixpkgs/trunk/; revision=851
2004-03-27 15:47:48 +00:00

25 lines
500 B
Bash
Executable file

#! /bin/sh -e
buildInputs="$openssl $db4 $expat $perl"
. $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