mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
0de9e19de7
* Use zlib in libxml2. svn path=/nixpkgs/trunk/; revision=358
14 lines
248 B
Bash
Executable File
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
|