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 | <!ENTITY popt-download-http "http://rpm5.org/files/popt/popt-&popt-version;.tar.gz">
|
---|
8 | <!ENTITY popt-download-ftp "&sources-anduin-ftp;/p/popt-&popt-version;.tar.gz">
|
---|
9 | <!ENTITY popt-md5sum "3743beefa3dd6247a73f8f7a32c14c33">
|
---|
10 | <!ENTITY popt-size "702 kB">
|
---|
11 | <!ENTITY popt-buildsize "8 MB (includes installing documentation)">
|
---|
12 | <!ENTITY popt-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="popt" xreflabel="popt-&popt-version;">
|
---|
16 | <?dbhtml filename="popt.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Popt-&popt-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="popt">
|
---|
26 | <primary sortas="a-Popt">Popt</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Popt</title>
|
---|
31 |
|
---|
32 | <para>The <application>popt</application> package contains the
|
---|
33 | <application>popt</application> libraries which are used by
|
---|
34 | some programs to parse command-line options.</para>
|
---|
35 |
|
---|
36 | &lfs77_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &popt-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &popt-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &popt-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &popt-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <para condition="html" role="usernotes">User Notes:
|
---|
61 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 | <sect2 role="installation">
|
---|
66 | <title>Installation of Popt</title>
|
---|
67 |
|
---|
68 | <para>Install <application>popt</application> by running the following
|
---|
69 | commands:</para>
|
---|
70 |
|
---|
71 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
72 | make</userinput></screen>
|
---|
73 |
|
---|
74 | <para>If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
75 | the API documentation, issue <command>doxygen</command>.</para>
|
---|
76 |
|
---|
77 | <para>To test the results, issue:<command>make check</command>.</para>
|
---|
78 |
|
---|
79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
80 |
|
---|
81 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
82 |
|
---|
83 | <para>If you built the API documentation, install it using the following
|
---|
84 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
85 | user:</para>
|
---|
86 |
|
---|
87 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
88 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2 role="commands">
|
---|
93 | <title>Command Explanations</title>
|
---|
94 |
|
---|
95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
96 | href="../../xincludes/static-libraries.xml"/>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="content">
|
---|
101 | <title>Contents</title>
|
---|
102 |
|
---|
103 | <segmentedlist>
|
---|
104 | <segtitle>Installed Programs</segtitle>
|
---|
105 | <segtitle>Installed Library</segtitle>
|
---|
106 | <segtitle>Installed Directories</segtitle>
|
---|
107 |
|
---|
108 | <seglistitem>
|
---|
109 | <seg>None</seg>
|
---|
110 | <seg>libpopt.so</seg>
|
---|
111 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
112 | </seglistitem>
|
---|
113 | </segmentedlist>
|
---|
114 |
|
---|
115 | <variablelist>
|
---|
116 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
117 | <?dbfo list-presentation="list"?>
|
---|
118 | <?dbhtml list-presentation="table"?>
|
---|
119 |
|
---|
120 | <varlistentry id="libpopt">
|
---|
121 | <term><filename role='library'>libpopt.so</filename></term>
|
---|
122 | <listitem>
|
---|
123 | <para> is used to parse command-line options.</para>
|
---|
124 | <indexterm zone="popt libpopt">
|
---|
125 | <primary sortas="c-libpopt">libpopt.so</primary>
|
---|
126 | </indexterm>
|
---|
127 | </listitem>
|
---|
128 | </varlistentry>
|
---|
129 | </variablelist>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | </sect1>
|
---|