nixpkgs/pkgs/development/libraries/libxml2/builder.sh
Eelco Dolstra cf9df60603 * Propagate libz.
svn path=/nixpkgs/trunk/; revision=538
2003-11-25 13:45:35 +00:00

14 lines
267 B
Bash
Executable file

#! /bin/sh
buildinputs="$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 "$zlib" > $out/propagated-build-inputs || exit 1