nixpkgs/pkgs/libxml2/libxml2-build.sh
Eelco Dolstra 0de9e19de7 * Added zlib.
* Use zlib in libxml2.

svn path=/nixpkgs/trunk/; revision=358
2003-08-25 19:41:37 +00:00

14 lines
248 B
Bash
Executable File

#! /bin/sh
envpkgs="$zlib"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd libxml2-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1
echo $envpkgs > $out/envpkgs || exit 1