mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
0d7900a67c
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11015 af4574ff-66df-0310-9fd7-8a98e5e911e0
157 lines
4.6 KiB
XML
157 lines
4.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libarchive-download-http "http://github.com/downloads/libarchive/libarchive/libarchive-&libarchive-version;.tar.gz">
|
|
<!ENTITY libarchive-download-ftp " ">
|
|
<!ENTITY libarchive-md5sum "af443ca9a10ddbcbf00f7ae34ca7fc16">
|
|
<!ENTITY libarchive-size "3.5 MB">
|
|
<!ENTITY libarchive-buildsize "39 MB">
|
|
<!ENTITY libarchive-time "0.5 SBU">
|
|
]>
|
|
|
|
<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;">
|
|
<?dbhtml filename="libarchive.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libarchive-&libarchive-version;</title>
|
|
|
|
<indexterm zone="libarchive">
|
|
<primary sortas="a-libarchive">libarchive</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libarchive</title>
|
|
|
|
<para>The <application>libarchive</application> library provides a single interface for
|
|
reading/writing various compression formats.</para>
|
|
|
|
&lfs72_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&libarchive-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&libarchive-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &libarchive-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &libarchive-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &libarchive-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &libarchive-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/libarchive-&libarchive-version;-fixes-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
|
|
<bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="libxml2"/> or
|
|
<xref linkend="expat"/>,
|
|
<xref linkend="openssl"/>,
|
|
<xref linkend="nettle"/> and
|
|
<xref linkend="acl"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/libarchive"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libarchive</title>
|
|
|
|
<para>Install <application>libarchive</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <userinput>make check</userinput>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>--disable-static</option>: This option prevents building the
|
|
static archive versions of the libraries.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>bsdcpio and bsdtar</seg>
|
|
<seg>libarchive.so</seg>
|
|
<seg>none</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="bsdcpio">
|
|
<term><command>bsdcpio</command></term>
|
|
<listitem>
|
|
<para>is a tool similar to <command>cpio</command>.</para>
|
|
<indexterm zone="libarchive bsdcpio">
|
|
<primary sortas="b-bsdcpio">bsdcpio</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry id="bsdtar">
|
|
<term><command>bsdtar</command></term>
|
|
<listitem>
|
|
<para>is a tool similar to GNU <command>tar</command>.</para>
|
|
<indexterm zone="libarchive bsdtar">
|
|
<primary sortas="b-bsdtar">bsdtar</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|