The Zlib package contains compression and decompression routines used by some programs.
Several packages in the temporary system use Zlib, including
Binutils, GCC, and Util-linux, so we will add it to /tools.
Prepare Zlib for compilation:
./configure \ --prefix=/tools \ --libdir=/tools/lib64
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.20.2, “Contents of Zlib.”