mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
3f2db3a638
They only contain a date tag that is nowhere used.
149 lines
4.5 KiB
XML
149 lines
4.5 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 gperf-download-http "http://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
|
|
<!ENTITY gperf-download-ftp "ftp://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz">
|
|
<!ENTITY gperf-md5sum "c1f1db32fb6598d6a93e6e88796a8632">
|
|
<!ENTITY gperf-size "968 KB">
|
|
<!ENTITY gperf-buildsize "6.5 MB">
|
|
<!ENTITY gperf-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="gperf" xreflabel="Gperf-&gperf-version;">
|
|
<?dbhtml filename="gperf.html"?>
|
|
|
|
|
|
<title>Gperf-&gperf-version;</title>
|
|
|
|
<indexterm zone="gperf">
|
|
<primary sortas="a-Gperf">Gperf</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Gperf</title>
|
|
|
|
<para><application>Gperf</application> generates a perfect hash function
|
|
from a key set.</para>
|
|
|
|
&lfs75_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&gperf-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&gperf-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &gperf-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &gperf-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &gperf-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &gperf-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/gperf"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Gperf</title>
|
|
|
|
<para>Install <application>Gperf</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version; &&
|
|
make</userinput></screen>
|
|
|
|
<!-- gperf.texi is broken. Fixing the texi file breaks 'make install'
|
|
without TeXlive installed.
|
|
<para>If desired, create a text version of the documentation by issuing
|
|
the following command:</para>
|
|
|
|
<screen><userinput>makeinfo -o doc/gperf.txt - -plaintext doc/gperf.texi</userinput></screen>
|
|
-->
|
|
|
|
<para>To test the results, issue: <command>make check</command>. There
|
|
should be no output from the <command>diff</command> commands.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
<!--install -m644 -v doc/gperf.{dvi,ps,pdf,txt} \ -->
|
|
install -m644 -v doc/gperf.{dvi,ps,pdf} \
|
|
/usr/share/doc/gperf-&gperf-version; &&
|
|
|
|
pushd /usr/share/info &&
|
|
rm -v dir &&
|
|
for FILENAME in *; do
|
|
install-info $FILENAME dir 2>/dev/null
|
|
done &&
|
|
popd</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<!--
|
|
<para><command>install -m644 -v doc/gperf.{dvi,ps,pdf,txt} ...</command>:
|
|
This command installs documentation. Modify the command (remove ',txt') if
|
|
you did not build the text version.</para>
|
|
-->
|
|
|
|
<para><command>install -m644 -v doc/gperf.{dvi,ps,pdf} ...</command>:
|
|
This command installs documentation.</para>
|
|
|
|
<para><command>pushd ... popd</command>: This set of commands rebuilds the
|
|
<filename>/usr/share/info/dir</filename> file as the installation failed
|
|
to do so.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>gperf</seg>
|
|
<seg>None</seg>
|
|
<seg>/usr/share/doc/gperf-&gperf-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gperf-prog">
|
|
<term><command>gperf</command></term>
|
|
<listitem>
|
|
<para>generates a perfect hash function from a key set.</para>
|
|
<indexterm zone="gperf gperf-prog">
|
|
<primary sortas="b-gperf">gperf</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|