2003-07-27 23:26:19 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-07-28 23:15:03 +02:00
|
|
|
export NIX_LDFLAGS=-Wl,-s
|
|
|
|
|
2003-07-27 23:26:19 +02:00
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
|
|
|
envpkgs="$ssl $db4 $expat"
|
2003-07-28 23:15:03 +02:00
|
|
|
. $setenv || exit 1
|
2003-07-27 23:26:19 +02:00
|
|
|
|
|
|
|
tar xvfz $src || exit 1
|
|
|
|
cd httpd-* || exit 1
|
2003-07-28 23:15:03 +02:00
|
|
|
./configure --prefix=$out --enable-ssl --with-ssl=$ssl --with-berkeley-db=$db4 \
|
2003-07-27 23:26:19 +02:00
|
|
|
--with-expat=$expat --enable-mods-shared=all --without-gdbm || exit 1
|
|
|
|
make || exit 1
|
|
|
|
make install || exit 1
|
|
|
|
strip -S $out/lib/*.a || exit 1
|
|
|
|
rm -rf $out/manual || exit 1
|