source: general/sysutils/zip.xml@ b59ecb55

12.2 lazarus trunk
Last change on this file since b59ecb55 was 09ddf35a, checked in by Douglas R. Reno <renodr@…>, 5 weeks ago

Tag Sphinx, gdb, and test dependencies for llvm

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY zip-download-http "&sourceforge-dl;/infozip/zip30.tar.gz">
8 <!ENTITY zip-download-ftp " ">
9 <!ENTITY zip-md5sum "7b74551e63f8ee6aab6fbc86676c0d37">
10 <!ENTITY zip-size "1.1 MB">
11 <!ENTITY zip-buildsize "6.4 MB">
12 <!ENTITY zip-time "0.1 SBU">
13]>
14
15<sect1 id="zip" xreflabel="Zip-&zip-version;">
16 <?dbhtml filename="zip.html"?>
17
18
19 <title>Zip-&zip-version;</title>
20
21 <indexterm zone="zip">
22 <primary sortas="a-Zip">Zip</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Zip</title>
27
28 <para>
29 The <application>Zip</application> package contains
30 <application>Zip</application> utilities. These
31 are useful for compressing files into <filename>ZIP</filename>
32 archives.
33 </para>
34
35 &lfs122_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&zip-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&zip-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &zip-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &zip-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &zip-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &zip-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of Zip</title>
75
76 <para>
77 Install <application>Zip</application> by running the following
78 commands:
79 </para>
80
81<screen><userinput>make -f unix/Makefile generic CC="gcc -std=gnu89"</userinput></screen>
82
83 <para>
84 This package does not come with a test suite.
85 </para>
86
87 <para>
88 Now, as the <systemitem class="username">root</systemitem> user:
89 </para>
90
91<screen role="root"><userinput>make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install</userinput></screen>
92
93 </sect2>
94
95 <sect2 role="commands">
96 <title>Command Explanations</title>
97
98 <para>
99 <parameter>CC="gcc -std=gnu89"</parameter>: This parameter
100 overrides the <varname>CC</varname> variable that is set to
101 <command>cc</command> in the <filename>unix/Makefile</filename> file.
102 On LFS <command>cc</command> is a symlink to <command>gcc</command>,
103 and it uses <option>-std=gnu17</option> (ISO 9899:2017 with GNU
104 extensions) as the default but Zip is a <quote>legacy</quote> package
105 where some grammar constructs are invalid in ISO 9899:1999 and newer
106 standards.
107 </para>
108
109 <para>
110 <parameter>prefix=/usr</parameter>: This parameter
111 overrides the <varname>prefix</varname> variable that is set to
112 <filename class='directory'>/usr/local</filename> in the
113 <filename>unix/Makefile</filename> file.
114 </para>
115
116 </sect2>
117
118 <sect2 role="content">
119 <title>Contents</title>
120
121 <segmentedlist>
122 <segtitle>Installed Programs</segtitle>
123 <segtitle>Installed Libraries</segtitle>
124 <segtitle>Installed Directories</segtitle>
125
126 <seglistitem>
127 <seg>zip, zipcloak, zipnote, and zipsplit</seg>
128 <seg>None</seg>
129 <seg>None</seg>
130 </seglistitem>
131 </segmentedlist>
132
133 <variablelist>
134 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
135 <?dbfo list-presentation="list"?>
136 <?dbhtml list-presentation="table"?>
137
138 <varlistentry id="zip-prog">
139 <term><command>zip</command></term>
140 <listitem>
141 <para>
142 compresses files into a <filename>ZIP</filename> archive
143 </para>
144 <indexterm zone="zip zip-prog">
145 <primary sortas="b-zip">zip</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="zipcloak">
151 <term><command>zipcloak</command></term>
152 <listitem>
153 <para>
154 is a utility to encrypt and decrypt a <filename>ZIP</filename>
155 archive
156 </para>
157 <indexterm zone="zip zipcloak">
158 <primary sortas="b-zipcloak">zipcloak</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="zipnote">
164 <term><command>zipnote</command></term>
165 <listitem>
166 <para>
167 reads or writes comments stored in a <filename>ZIP</filename>
168 file
169 </para>
170 <indexterm zone="zip zipnote">
171 <primary sortas="b-zipnote">zipnote</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="zipsplit">
177 <term><command>zipsplit</command></term>
178 <listitem>
179 <para>
180 is a utility to split <filename>ZIP</filename> files into
181 smaller files
182 </para>
183 <indexterm zone="zip zipsplit">
184 <primary sortas="b-zipsplit">zipsplit</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.