Zip: Difference between revisions

From CBLFS
Jump to navigationJump to search
Kalessin (talk | contribs)
I moved the description to the top.
Kalessin (talk | contribs)
I added the "Contents" section.
Line 1: Line 1:
{| style="text-align: left; background-color: AliceBlue;"
{| style="text-align: left; background-color: AliceBlue;"
|-
|-valign="top"
!Download Source:
!Download Source:
| http://ftp.info-zip.org/pub/infozip/src/zip232.tar.gz
| http://ftp.info-zip.org/pub/infozip/src/zip232.tar.gz
Line 12: Line 12:


== Dependencies ==
== Dependencies ==
== Additional Configuration Options ==
Use the  '''make -f unix/Makefile list''' command to see the alternatives to generic_gcc for make.


== Non-Multilib ==
== Non-Multilib ==
Line 23: Line 27:
Install the package
Install the package


  make prefix=/usr -f unix/Makefile install  
  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 ==
== Multilib ==
Line 65: Line 73:


= Contents =
= Contents =
{| style="text-align: left;"
|-valign="top"
! Installed Programs:
| zip, zipcloak, zipnote, and zipsplit
|-valign="top"
! Installed Libraries:
| None
|-valign="top"
! Installed Directories:
| None
|}
=== Short Descriptions ===
{| style="text-align: left;"
|-valign="top"
! zip
| compresses files into a ZIP archive.
|-valign="top"
! zipcloak
| is a utility to encrypt and decrypt a ZIP archive.
|-valign="top"
! zipnote
| reads or writes comments stored in a ZIP file.
|-valign="top"
! zipsplit
| is a utility to split ZIP files into smaller files.
|}

Revision as of 00:41, 17 December 2006

Download Source: http://ftp.info-zip.org/pub/infozip/src/zip232.tar.gz

Introduction to Zip

The Zip package contains Zip utilities. These are useful for compressing files into ZIP archives.

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:

sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
unix/Makefile &&
make prefix=/usr -f unix/Makefile generic_gcc

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.

32Bit

Compile the package:

sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
unix/Makefile &&
make prefix=/usr CC="gcc -m32" -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

Compile the package:

sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
unix/Makefile &&
make prefix=/usr CC="gcc ${BUILD64}" -f unix/Makefile generic 

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.
Retrieved from "?title=Zip&oldid=4910"