mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Converted static tar to new layout.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2328 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
cce4232d70
commit
984ab5a172
@ -1,3 +1,5 @@
|
|||||||
|
<sect2><title> </title><para> </para></sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Tar Installation Dependencies</title>
|
<title>Tar Installation Dependencies</title>
|
||||||
|
|
||||||
|
11
appendixa/tar-shortdesc.xml
Normal file
11
appendixa/tar-shortdesc.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<sect2><title>Contents of Tar</title>
|
||||||
|
|
||||||
|
<para>Last checked against version &tar-contversion;.</para>
|
||||||
|
|
||||||
|
<para>Tar is an archiving program designed to store and extract
|
||||||
|
files from an archive file known as a tar file.</para>
|
||||||
|
|
||||||
|
<sect3><title>Program Files</title>
|
||||||
|
<para>rmt and tar</para></sect3>
|
||||||
|
|
||||||
|
</sect2>
|
@ -1,20 +1,28 @@
|
|||||||
|
<sect2><title> </title><para> </para></sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Tar</title>
|
<title>Installation of Tar</title>
|
||||||
|
|
||||||
<para>To be able to directly use bzip2 files with tar, use the tar
|
<para>A patch may be applied to give tar direct support for
|
||||||
patch available from the LFS FTP site. This patch will add the -j option
|
bzip2 files. This patch adds the <emphasis>-j</emphasis> option
|
||||||
to tar which works the same as the -z option to tar (which can be used
|
to tar, which is similar to the <emphasis>-z</emphasis> option
|
||||||
for gzip files).</para>
|
used for gzip files.</para>
|
||||||
|
|
||||||
<para>Apply the patch by running the following command:</para>
|
<para>Apply the patch by running the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>
|
<para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>
|
||||||
|
|
||||||
<para>Install Tar by running the following commands:</para>
|
<para>Prepare Tar to be compiled:</para>
|
||||||
|
|
||||||
<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &&
|
<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
|
||||||
make &&
|
|
||||||
make install</userinput></screen></para>
|
<para>Continue with compiling the package:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>make</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Finish installing the package:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>make install</userinput></screen></para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
<screen>Estimated build time: &tar-time-static;
|
<screen>Estimated build time: &tar-time-static;
|
||||||
Estimated required disk space: &tar-compsize-static;</screen>
|
Estimated required disk space: &tar-compsize-static;</screen>
|
||||||
|
|
||||||
&c5-tar-inst;
|
&aa-tar-shortdesc;
|
||||||
&aa-tar-desc;
|
|
||||||
&aa-tar-dep;
|
&aa-tar-dep;
|
||||||
|
&c5-tar-inst;
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
<!ENTITY aa-tar-desc SYSTEM "../appendixa/tar-desc.xml">
|
<!ENTITY aa-tar-desc SYSTEM "../appendixa/tar-desc.xml">
|
||||||
<!ENTITY aa-tar-dep SYSTEM "../appendixa/tar-dep.xml">
|
<!ENTITY aa-tar-dep SYSTEM "../appendixa/tar-dep.xml">
|
||||||
<!ENTITY aa-tar-down SYSTEM "../appendixa/tar-down.xml">
|
<!ENTITY aa-tar-down SYSTEM "../appendixa/tar-down.xml">
|
||||||
|
<!ENTITY aa-tar-shortdesc SYSTEM "../appendixa/tar-shortdesc.xml">
|
||||||
|
|
||||||
<!ENTITY tar-version "1.13">
|
<!ENTITY tar-version "1.13">
|
||||||
<!ENTITY tar-depversion "1.13">
|
<!ENTITY tar-depversion "1.13">
|
||||||
|
Loading…
Reference in New Issue
Block a user