gperf.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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>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. <seglistitem>
  48. <seg>gperf</seg>
  49. </seglistitem>
  50. </segmentedlist>
  51. <variablelist>
  52. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  53. <?dbfo list-presentation="list"?>
  54. <?dbhtml list-presentation="table"?>
  55. <varlistentry id="gperf">
  56. <term><command>gperf</command></term>
  57. <listitem>
  58. <para>Generates a perfect hash from a key set</para>
  59. <indexterm zone="ch-system-gperf gperf">
  60. <primary sortas="b-gperf">gperf</primary>
  61. </indexterm>
  62. </listitem>
  63. </varlistentry>
  64. </variablelist>
  65. </sect2>
  66. </sect1>