Difference between revisions of "Zip"

From CBLFS
Jump to navigationJump to search
(add pkg intro)
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://ftp.info-zip.org/pub/infozip/src/zip{{Zip-Version}}.tar.gz
+
| ftp://ftp.info-zip.org/pub/infozip/src/zip{{Zip-Version}}.tgz
 
|}
 
|}
  
 
----
 
----
  
{{Blank-Package-Introduction}}
+
{{Package-Introduction|Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.|http://info-zip.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 19: Line 19:
 
Compile the package:
 
Compile the package:
  
sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
+
  make -f unix/Makefile generic
unix/Makefile &&
 
  make prefix=/usr -f unix/Makefile generic_gcc
 
  
 
Install the package
 
Install the package
Line 33: Line 31:
 
== Multilib ==
 
== Multilib ==
 
'''''This package does not provide any libraries so only one installation is needed.'''''
 
'''''This package does not provide any libraries so only one installation is needed.'''''
 
=== 32Bit ===
 
 
Compile the package:
 
 
sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
 
unix/Makefile &&
 
make prefix=/usr CC="gcc ${BUILD32}" -f unix/Makefile generic
 
 
Install the package
 
 
make prefix=/usr -f unix/Makefile install
 
 
=== N32 ===
 
 
Compile the package:
 
 
sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
 
unix/Makefile &&
 
make prefix=/usr CC="gcc ${BUILDN32}" -f unix/Makefile generic
 
 
Install the package
 
 
make prefix=/usr -f unix/Makefile install
 
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 62: Line 36:
 
Compile the package:
 
Compile the package:
  
  sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
+
  make -f unix/Makefile generic CC="gcc ${BUILD64}"
unix/Makefile &&
 
make prefix=/usr CC="gcc ${BUILD64}" -f unix/Makefile generic
 
  
 
Install the package
 
Install the package
Line 100: Line 72:
 
| is a utility to split ZIP files into smaller files.
 
| is a utility to split ZIP files into smaller files.
 
|}
 
|}
 +
 +
[[Category:General Utilities]]

Latest revision as of 10:10, 17 April 2010

Download Source: ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz

Introduction to Zip

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.

Project Homepage: http://info-zip.org/

Dependencies

Additional Configuration Options

Use the make -f unix/Makefile list command to see the alternatives to generic_gcc for make.

Non-Multilib

Compile the package:

make -f unix/Makefile generic

Install the package

make prefix=/usr -f unix/Makefile install

Command Explanations

make prefix=/usr -f unix/Makefile install: This sets the prefix variable to /usr instead of /usr/local which is the default.

Multilib

This package does not provide any libraries so only one installation is needed.

64Bit

Compile the package:

make -f unix/Makefile generic CC="gcc ${BUILD64}"

Install the package

make prefix=/usr -f unix/Makefile install

Contents

Installed Programs: zip, zipcloak, zipnote, and zipsplit
Installed Libraries: None
Installed Directories: None

Short Descriptions

zip compresses files into a ZIP archive.
zipcloak is a utility to encrypt and decrypt a ZIP archive.
zipnote reads or writes comments stored in a ZIP file.
zipsplit is a utility to split ZIP files into smaller files.