source:
chapter06/tar.xml@
0e89a47
Last change on this file since 0e89a47 was d7a9421, checked in by , 3 years ago | |
---|---|
|
|
File size: 1.7 KB |
Rev | Line | |
---|---|---|
[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | |
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent"> |
5 | %general-entities; | |
6 | ]> | |
[ddd5542] | 7 | |
[fcc02767] | 8 | <sect1 id="ch-tools-tar" role="wrap"> |
[ddd5542] | 9 | <?dbhtml filename="tar.html"?> |
10 | ||
[e747759] | 11 | <sect1info condition="script"> |
12 | <productname>tar</productname> | |
13 | <productnumber>&tar-version;</productnumber> | |
14 | <address>&tar-url;</address> | |
15 | </sect1info> | |
16 | ||
[ddd5542] | 17 | <title>Tar-&tar-version;</title> |
18 | ||
[fcc02767] | 19 | <indexterm zone="ch-tools-tar"> |
[ddd5542] | 20 | <primary sortas="a-Tar">Tar</primary> |
[fcc02767] | 21 | <secondary>tools</secondary> |
[ddd5542] | 22 | </indexterm> |
23 | ||
24 | <sect2 role="package"> | |
25 | <title/> | |
26 | ||
[fcc02767] | 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
28 | href="../chapter08/tar.xml" | |
29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/> | |
[673b0d8] | 30 | |
[ddd5542] | 31 | <segmentedlist> |
32 | <segtitle>&buildtime;</segtitle> | |
33 | <segtitle>&diskspace;</segtitle> | |
[6370fa6] | 34 | |
[ddd5542] | 35 | <seglistitem> |
[fb386e0] | 36 | <seg>&tar-tmp-sbu;</seg> |
37 | <seg>&tar-tmp-du;</seg> | |
[ddd5542] | 38 | </seglistitem> |
39 | </segmentedlist> | |
[5888299] | 40 | |
[ddd5542] | 41 | </sect2> |
[73aedd1d] | 42 | |
[ddd5542] | 43 | <sect2 role="installation"> |
44 | <title>Installation of Tar</title> | |
[c5f16ca] | 45 | |
[64af1f6] | 46 | <para>Prepare Tar for compilation:</para> |
[6c88898d] | 47 | |
[fcc02767] | 48 | <screen><userinput remap="configure">./configure --prefix=/usr \ |
49 | --host=$LFS_TGT \ | |
[d7a9421] | 50 | --build=$(build-aux/config.guess)</userinput></screen> |
[6c88898d] | 51 | |
[ddd5542] | 52 | <para>Compile the package:</para> |
[73aedd1d] | 53 | |
[0445a3d] | 54 | <screen><userinput remap="make">make</userinput></screen> |
[73aedd1d] | 55 | |
[ddd5542] | 56 | <para>Install the package:</para> |
[73aedd1d] | 57 | |
[fcc02767] | 58 | <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> |
[e6ae50d] | 59 | |
[ddd5542] | 60 | </sect2> |
[6370fa6] | 61 | |
[fcc02767] | 62 | <sect2 role="content"> |
63 | <title/> | |
[5888299] | 64 | |
[bc8cca5] | 65 | <para>Details on this package are located in <xref linkend="contents-tar" role="."/></para> |
[81fd230] | 66 | |
[ddd5542] | 67 | </sect2> |
68 | ||
69 | </sect1> |
Note:
See TracBrowser
for help on using the repository browser.