gperf.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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-fin-sbu;</seg>
  26. <seg>&gperf-fin-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>The tests are known to fail if running multiple
  37. simultaneous tests (-j option greater than 1). To test
  38. the results, issue:</para>
  39. <screen><userinput remap="test">make -j1 check</userinput></screen>
  40. <para>Install the package:</para>
  41. <screen><userinput remap="install">make install</userinput></screen>
  42. </sect2>
  43. <sect2 id="contents-gperf" role="content">
  44. <title>Contents of Gperf</title>
  45. <segmentedlist>
  46. <segtitle>Installed program</segtitle>
  47. <segtitle>Installed directory</segtitle>
  48. <seglistitem>
  49. <seg>gperf</seg>
  50. <seg>/usr/share/doc/gperf-&gperf-version;</seg>
  51. </seglistitem>
  52. </segmentedlist>
  53. <variablelist>
  54. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  55. <?dbfo list-presentation="list"?>
  56. <?dbhtml list-presentation="table"?>
  57. <varlistentry id="gperf">
  58. <term><command>gperf</command></term>
  59. <listitem>
  60. <para>Generates a perfect hash from a key set</para>
  61. <indexterm zone="ch-system-gperf gperf">
  62. <primary sortas="b-gperf">gperf</primary>
  63. </indexterm>
  64. </listitem>
  65. </varlistentry>
  66. </variablelist>
  67. </sect2>
  68. </sect1>