glfs/general/genlib/expat.xml
Randy McMurchy a73d16df99 Updated to Expat-2.0.0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5743 af4574ff-66df-0310-9fd7-8a98e5e911e0
2006-03-24 21:03:21 +00:00

130 lines
3.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY expat-download-http "http://prdownloads.sourceforge.net/expat/expat-&expat-version;.tar.gz">
<!ENTITY expat-download-ftp " ">
<!ENTITY expat-md5sum "d945df7f1c0868c5c73cf66ba9596f3f">
<!ENTITY expat-size "450 KB">
<!ENTITY expat-buildsize "5.8 MB">
<!ENTITY expat-time "0.1 SBU">
]>
<sect1 id="expat" xreflabel="expat-&expat-version;">
<?dbhtml filename="expat.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">expat-&expat-version;.tar</keyword>
<keyword role="ftpdir">expat</keyword>
</keywordset>
</sect1info>
<title>Expat-&expat-version;</title>
<indexterm zone="expat">
<primary sortas="a-Expat">Expat</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Expat</title>
<para>The <application>Expat</application> package contains a stream oriented
C library for parsing XML.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&expat-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&expat-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &expat-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &expat-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &expat-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &expat-time;</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Expat</title>
<para>Install <application>Expat</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/expat-&expat-version; &amp;&amp;
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
<para>To test the results, issue: <command>make check</command> as an
unprivileged user. Note this must be done after the package is
installed.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>xmlwf</seg>
<seg>libexpat.[so,a]</seg>
<seg>/usr/share/doc/expat-&expat-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="xmlwf">
<term><command>xmlwf</command></term>
<listitem>
<para>is a non-validating utility to check whether or not
XML documents are well formed.</para>
<indexterm zone="expat xmlwf">
<primary sortas="b-xmlwf">xmlwf</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libexpat">
<term><filename class='libraryfile'>libexpat.[so,a]</filename></term>
<listitem>
<para>contains API functions for parsing XML.</para>
<indexterm zone="expat libexpat">
<primary sortas="c-libexpat">libexpat.[so,a]</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>