glfs/general/genutils/bc.xml
Randy McMurchy 14d6b3e0e1 Change hardcoded version numbers to entities in various packages
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2394 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-06-28 20:22:48 +00:00

87 lines
2.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY bc-download-http "http://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
<!ENTITY bc-download-ftp "ftp://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
<!ENTITY bc-size "280 KB">
<!ENTITY bc-buildsize "1.6 MB">
<!ENTITY bc-time "0.07 SBU">
]>
<sect1 id="bc" xreflabel="bc-&bc-version;">
<?dbhtml filename="bc.html"?>
<title>bc-&bc-version;</title>
<sect2>
<title>Introduction to <application>bc</application></title>
<para>The <application>bc</application> package contains
an arbitrary precision numeric processing language.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&bc-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&bc-download-ftp;"/></para></listitem>
<listitem><para>Download size: &bc-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&bc-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&bc-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch: <ulink
url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
<listitem><para>Required Patch: <ulink
url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
</itemizedlist></sect3>
<sect3><title><application>bc</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="readline"/></para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <command>bc</command></title>
<para>Install <command>bc</command> by running the following commands:</para>
<screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &amp;&amp;
patch -Np1 -i ../bc-&bc-version;-readline-1.patch &amp;&amp;
./configure --prefix=/usr --with-readline &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>bc</application> package contains
<command>bc</command> and
<command>dc</command>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>bc</title>
<para><command>bc</command> is a calculator.</para></sect3>
<sect3><title>dc</title>
<para><command>dc</command> is a reverse-polish calculator.</para></sect3>
</sect2>
</sect1>