popt.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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-popt" role="wrap">
  8. <?dbhtml filename="popt.html"?>
  9. <sect1info condition="script">
  10. <productname>popt</productname>
  11. <productnumber>&popt-version;</productnumber>
  12. <address>&popt-url;</address>
  13. </sect1info>
  14. <title>Popt-&popt-version;</title>
  15. <indexterm zone="ch-system-popt">
  16. <primary sortas="a-popt">popt</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Popt package contains a library used by some programs
  21. to parse command-line options.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&popt-ch6-sbu;</seg>
  27. <seg>&popt-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Popt</title>
  33. <para>Prepare Popt4 for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  35. <para>Compile the package:</para>
  36. <screen><userinput remap="make">make</userinput></screen>
  37. <para>To test the results, issue:</para>
  38. <screen><userinput remap="test">make check</userinput></screen>
  39. <para>Install the package:</para>
  40. <screen><userinput remap="install">make install</userinput></screen>
  41. </sect2>
  42. <sect2 id="contents-popt" role="content">
  43. <title>Contents of Popt</title>
  44. <segmentedlist>
  45. <segtitle>Installed libraries:</segtitle>
  46. <seglistitem>
  47. <seg>libpopt.{a,so}</seg>
  48. </seglistitem>
  49. </segmentedlist>
  50. <variablelist>
  51. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  52. <?dbfo list-presentation="list"?>
  53. <?dbhtml list-presentation="table"?>
  54. <varlistentry id="libpopt">
  55. <!-- Don't remove the extra space, it prevet a FOP warning. -->
  56. <term><filename class="libraryfile">libpopt</filename></term>
  57. <listitem>
  58. <para>is used to parse command-line options</para>
  59. <indexterm zone="ch-system-popt libpopt">
  60. <primary sortas="b-libpopt">libpopt</primary>
  61. </indexterm>
  62. </listitem>
  63. </varlistentry>
  64. </variablelist>
  65. </sect2>
  66. </sect1>