nixpkgs/pkgs/libxml2/libxml2-build.sh
Eelco Dolstra cec4d0dc62 * Strip debug info.
svn path=/nixpkgs/trunk/; revision=208
2003-07-26 21:00:24 +00:00

11 lines
207 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd libxml2-* || exit 1
LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1