gperf.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-gperf" role="wrap">
  8. <?dbhtml filename="gperf.html"?>
  9. <sect1info condition="script">
  10. <productname>gperf</productname>
  11. <productnumber>&gperf-version;</productnumber>
  12. <address>&gperf-url;</address>
  13. </sect1info>
  14. <title>Gperf-&gperf-version;</title>
  15. <indexterm zone="ch-system-gperf">
  16. <primary sortas="a-Gperf">Gperf</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>Gperf generates a perfect hash function from a key set.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&gperf-ch6-sbu;</seg>
  26. <seg>&gperf-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Gperf</title>
  32. <para>Prepare Gperf for compilation:</para>
  33. <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version;</userinput></screen>
  34. <para>Compile the package:</para>
  35. <screen><userinput remap="make">make</userinput></screen>
  36. <para>To test the results, issue:</para>
  37. <screen><userinput remap="test">make check</userinput></screen>
  38. <para>Install the package:</para>
  39. <screen><userinput remap="install">make install</userinput></screen>
  40. </sect2>
  41. <sect2 id="contents-gperf" role="content">
  42. <title>Contents of Gperf</title>
  43. <segmentedlist>
  44. <segtitle>Installed programs</segtitle>
  45. <seglistitem>
  46. <seg>gperf</seg>
  47. </seglistitem>
  48. </segmentedlist>
  49. <variablelist>
  50. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  51. <?dbfo list-presentation="list"?>
  52. <?dbhtml list-presentation="table"?>
  53. <varlistentry id="gperf">
  54. <term><command>gperf</command></term>
  55. <listitem>
  56. <para>Generates a perfect hash from a key set</para>
  57. <indexterm zone="ch-system-gperf gperf">
  58. <primary sortas="b-gperf">gperf</primary>
  59. </indexterm>
  60. </listitem>
  61. </varlistentry>
  62. </variablelist>
  63. </sect2>
  64. </sect1>