Details on this package are located in Section 6.14.2, “Contents of Zlib.”
The Zlib package contains compression and decompression routines used by some programs.
Prepare Zlib for compilation:
./configure --prefix=/tools
Compile the package:
make
Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the Zlib test suite anyway, issue the following command:
make check
Install the package to a temporary directory:
make install DESTDIR=$(pwd)/debian/tmp
Create the package archive:
buildpkg --package=zlib-pass1
Install the package:
dpkg -i ../zlib-pass1_1.2.8_*.deb
Details on this package are located in Section 6.14.2, “Contents of Zlib.”