12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
23 lines
485 B
Bash
23 lines
485 B
Bash
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
|