source: clfs-embedded/BOOK/beyond/common/zlib.xml@ 422ad1f

Last change on this file since 422ad1f was 524795e, checked in by Andrew Bradford <andrew@…>, 10 years ago

Move all beyond packages into single beyond section

There's only a few now, putting them all together makes sense.

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[8520e58]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[8520e58]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[524795e]8<sect1 id="ch-beyond-zlib" role="wrap">
[8520e58]9 <?dbhtml filename="zlib.html"?>
10
11 <title>Zlib-&zlib-version;</title>
12
[524795e]13 <indexterm zone="ch-beyond-zlib">
[8520e58]14 <primary sortas="a-Zlib">Zlib</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Zlib package contains compression and decompression routines
21 used by some programs.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Zlib</title>
27
[75adfe0]28 <para os="c">Prepare Zlib for compilation and set to optimize for size:</para>
[8520e58]29
[75adfe0]30<screen os="d"><userinput>CFLAGS="-Os" ./configure --shared</userinput></screen>
[8520e58]31
32 <variablelist os="aa">
33 <title>The meaning of the configure options:</title>
34
35 <varlistentry os="aa1">
36 <term><parameter>--shared</parameter></term>
37 <listitem>
38 <para>Tells Zlib to build its shared library.</para>
39 </listitem>
40 </varlistentry>
41
42 </variablelist>
43
44 <para os="c">Compile the package:</para>
45
46<screen os="d"><userinput>make</userinput></screen>
47
48 <para os="e">Install the package:</para>
49
[94e2400]50<screen os="f"><userinput>make prefix=${CLFS}/cross-tools/${CLFS_TARGET} install</userinput></screen>
[8520e58]51
52 </sect2>
53
54 <sect2 id="contents-zlib" role="content">
55 <title>Contents of Zlib</title>
56
57 <segmentedlist>
58 <segtitle>Installed libraries</segtitle>
59
60 <seglistitem>
61 <seg>libz.[a,so]</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="libz">
71 <term><filename class="libraryfile">libz</filename></term>
72 <listitem>
73 <para>Contains compression and decompression
74 functions used by some programs</para>
[524795e]75 <indexterm zone="ch-beyond-zlib libz">
[8520e58]76 <primary sortas="c-libz">libz</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 </variablelist>
82
83 </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.