2004-03-09 11:59:55 +01:00
|
|
|
#! /bin/sh -e
|
2003-11-06 16:24:19 +01:00
|
|
|
|
|
|
|
buildinputs="$zlib"
|
2004-03-09 11:59:55 +01:00
|
|
|
. $stdenv/setup
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-11 18:26:14 +01:00
|
|
|
tar xvfj $src
|
2004-03-09 11:59:55 +01:00
|
|
|
cd libxml2-*
|
|
|
|
./configure --prefix=$out
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
strip -S $out/lib/*.a
|
2003-11-25 14:45:35 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
mkdir $out/nix-support
|
|
|
|
echo "$zlib" > $out/nix-support/propagated-build-inputs
|