The minizip package provides a library for mini zip and unzip, based on Zlib.
You must unpack the downloaded zlib-1.3.2.tar.gz tarball and navigate to the
extracted source directory. This package is inside that source.
Install minizip by running the following commands:
cd contrib/minizip &&
sed -i 's/crypt.h/ints.h/' Makefile.am &&
mv Makefile{,.orig} &&
autoreconf -fi &&
./configure --prefix=/usr --disable-static &&
make
Now, as the root user:
make install
sed -i 's/crypt.h/ints.h/'
...: This command both ensures that a needed header
(ints.h) is installed and that
another header (crypt.h) is not, as
it conflicts with another header and can cause issues for other
packages.
mv Makefile{,.orig}; autoconf
-fi: These commands remove the pregenerated
Makefile and generate a new one.
--disable-static: This
switch prevents installation of static versions of the libraries.