source: BOOK/boot/common/zlib.xml@ fc90d77

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fc90d77 was efbbbaf, checked in by Jim Gifford <clfs@…>, 18 years ago

Fixed zlib sysroot installation

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[3f8842f]8<sect1 id="ch-boot-zlib" role="wrap">
[3f8be484]9 <?dbhtml filename="zlib.html"?>
10
11 <title>Zlib-&zlib-version;</title>
12
[3f8842f]13 <indexterm zone="ch-boot-zlib">
[3f8be484]14 <primary sortas="a-Zlib">Zlib</primary>
[3f8842f]15 <secondary>boot</secondary>
[3f8be484]16 </indexterm>
17
[d0c5f50]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/zlib.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Zlib</title>
24
[986e525d]25 <para os="p1">This patch will add the ability to use DESTDIR:</para>
26
27<screen os="p2"><userinput>patch -Np1 -i ../&zlib-destdir-patch;</userinput></screen>
28
[02e30dc]29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/common/zlib.xml"
31 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]32
[02e30dc]33<screen os="b"><userinput>./configure --prefix=/tools --shared</userinput></screen>
[3f8be484]34
[06a21d1]35 <variablelist os="aa">
[3f8be484]36 <title>The meaning of the configure options:</title>
37
[06a21d1]38 <varlistentry os="aa1">
[3f8be484]39 <term><parameter>--shared</parameter></term>
40 <listitem>
[342c4cd]41 <para>Tells Zlib to build its shared library.</para>
[3f8be484]42 </listitem>
43 </varlistentry>
44
45 </variablelist>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../../final-system/common/zlib.xml"
[02e30dc]49 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../../final-system/common/zlib.xml"
[02e30dc]53 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../../final-system/common/zlib.xml"
[02e30dc]57 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]58
[efbbbaf]59<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[3f8be484]60
61 </sect2>
62
63 <sect2 role="content">
64 <title/>
65
66 <para>Details on this package are located in <xref
67 linkend="contents-zlib" role="."/></para>
68
69 </sect2>
70
71</sect1>
Note: See TracBrowser for help on using the repository browser.