Move OpenSSL-1.1.0g from BLFS to LFS
[linux_from_scratch.git] / chapter06 / popt.xml
blobcc7c6bdc28bb5bc6e656ffe434cac1a69e5ea432
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 ]>
8 <sect1 id="ch-system-popt" role="wrap">
9   <?dbhtml filename="popt.html"?>
11   <sect1info condition="script">
12     <productname>popt</productname>
13     <productnumber>&popt-version;</productnumber>
14     <address>&popt-url;</address>
15   </sect1info>
17   <title>Popt-&popt-version;</title>
19   <indexterm zone="ch-system-popt">
20     <primary sortas="a-popt">popt</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Popt package contains a library used by some programs
27     to parse command-line options.</para>
29     <segmentedlist>
30       <segtitle>&buildtime;</segtitle>
31       <segtitle>&diskspace;</segtitle>
33       <seglistitem>
34         <seg>&popt-ch6-sbu;</seg>
35         <seg>&popt-ch6-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of Popt</title>
44     <para>Prepare Popt4 for compilation:</para>
46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
48     <para>Compile the package:</para>
50 <screen><userinput remap="make">make</userinput></screen>
52     <para>To test the results, issue:</para>
54 <screen><userinput remap="test">make check</userinput></screen>
56     <para>Install the package:</para>
58 <screen><userinput remap="install">make install</userinput></screen>
60   </sect2>
63   <sect2 id="contents-popt" role="content">
64     <title>Contents of Popt</title>
66     <segmentedlist>
67       <segtitle>Installed libraries:</segtitle>
69       <seglistitem>
70         <seg>libpopt.{a,so}</seg>
71       </seglistitem>
72     </segmentedlist>
74     <variablelist>
75       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
76       <?dbfo list-presentation="list"?>
77       <?dbhtml list-presentation="table"?>
79       <varlistentry id="libpopt">
80          <!-- Don't remove the extra space, it prevet a FOP warning. -->
81         <term><filename class="libraryfile">libpopt</filename></term>
82         <listitem>
83           <para>is used to parse command-line options</para>
84           <indexterm zone="ch-system-popt libpopt">
85             <primary sortas="b-libpopt">libpopt</primary>
86           </indexterm>
87         </listitem>
88       </varlistentry>
90     </variablelist>
92   </sect2>
94 </sect1>