glfs/general/genlib/double-conversion.xml
Bruce Dubbs 03a2986c05 A package update and some tags.
Update to libqalculate-4.0.0.
2022-02-16 22:44:55 -06:00

169 lines
4.8 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 double-conversion-download-http "https://github.com/google/double-conversion/archive/v&double-conversion-version;/double-conversion-&double-conversion-version;.tar.gz">
<!ENTITY double-conversion-download-ftp " ">
<!ENTITY double-conversion-md5sum "afe5c6c629a0a1017740d58313262a33">
<!ENTITY double-conversion-size "6.7 MB">
<!ENTITY double-conversion-buildsize "54 MB (with tests)">
<!ENTITY double-conversion-time "0.1 SBU (with tests)">
]>
<sect1 id="double-conversion" xreflabel="double-conversion-&double-conversion-version;">
<?dbhtml filename="double-conversion.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>Double-conversion-&double-conversion-version;</title>
<indexterm zone="double-conversion">
<primary sortas="a-double-conversion">double-conversion</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Double-conversion</title>
<para>
The <application>Double-conversion</application> package contains a
library that facilitates binary-to-decimal and decimal-to-binary routines
for IEEE doubles.
</para>
&lfs111_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&double-conversion-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&double-conversion-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &double-conversion-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &double-conversion-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &double-conversion-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &double-conversion-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Double-conversion Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/double-conversion"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Double-conversion</title>
<para>
Install <application>Double-conversion</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=ON \
.. &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make test</command>.
</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>
<parameter>-DBUILD_SHARED_LIBS=ON</parameter>: This switch forces cmake to build
a shared version of the library instead of the static version.
</para>
<para>
<parameter>-DBUILD_TESTING=ON</parameter>: This switch builds the test programs.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libdouble-conversion.so
</seg>
<seg>
/usr/include/double-conversion
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libdouble-conversion">
<term><filename class="libraryfile">libdouble-conversion.so</filename></term>
<listitem>
<para>
provides binary-to-decimal and decimal-to-binary routines for IEEE doubles
</para>
<indexterm zone="double-conversion libdouble-conversion">
<primary sortas="c-libdouble-conversion">libdouble-conversion.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>