The UnZip package contains ZIP extraction utilities. These are useful for extracting files from ZIP archives. ZIP archives are created with PKZIP or Info-ZIP utilities primarily in a DOS environment.
Download (HTTP): http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz
Download (FTP): ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz
Download MD5 sum: 9d23919999d6eac9217d1f41472034a9
Download size: 1.1 MB
Estimated disk space required: 7.2 MB
Estimated build time: 0.09 SBU
Install UnZip by running the following commands:
patch -Np1 -i ../unzip-5.52-fix_Makefile-1.patch && patch -Np1 -i ../unzip-5.52-fix_libz-1.patch && patch -Np1 -i ../unzip-5.52-dont_make_noise-1.patch && cp -v unix/Makefile . && make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux && make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz
To test the results, issue: LD_LIBRARY_PATH=$PWD && make check.
Now, as the root user:
make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install && cp -v -d libunzip.so* /usr/lib
make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux: This command overrides the prefix variable that is set to /usr/local in the Makefile, sets the LOCAL_UNZIP environment variable to instruct UnZip to use the shrinking algorithm based on the LZW compression algorithm, and builds the executables for a Linux system. The alternatives to 'linux' can be seen with a make list command.
make ... linux_shlibz: Build shared libunzip and link UnZip against it and zlib.
Last updated on 2005-08-01 13:29:19 -0600