nixpkgs/pkgs/httpd/httpd-build.sh
Eelco Dolstra 23154d034f * Get rid of all `-S' flags (to remove debug info); this is now the default.
* Remove all references to set-env.sh; it has been merged into stdenv.fix (actually 
  baseenv.fix).

svn path=/nixpkgs/trunk/; revision=316
2003-08-18 19:52:54 +00:00

15 lines
412 B
Bash
Executable file

#! /bin/sh
envpkgs="$ssl $db4 $expat"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd httpd-* || exit 1
./configure --prefix=$out --enable-ssl --with-ssl=$ssl --with-berkeley-db=$db4 \
--with-expat=$expat --enable-mods-shared=all --without-gdbm \
--enable-threads --with-devrandom=/dev/urandom || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1
rm -rf $out/manual || exit 1