source: general/genlib/popt.xml@ 1ab3240

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 1ab3240 was 1ab3240, checked in by Pierre Labastie <pieere@…>, 16 months ago

Update popt url

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23312 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.4 KB
Line 
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://ftp.rpm.org/mirror/popt/popt-&popt-version;.tar.gz">
8 <!ENTITY popt-download-ftp "&sources-anduin-ftp;/popt/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>
33 The <application>popt</application> package contains the
34 <application>popt</application> libraries which are used by
35 some programs to parse command-line options.
36 </para>
37
38 &lfs91_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&popt-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&popt-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &popt-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &popt-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &popt-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &popt-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/popt"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of Popt</title>
81
82 <para>
83 Install <application>popt</application> by running the following
84 commands:
85 </para>
86
87<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
88make</userinput></screen>
89
90 <para>
91 If you have <xref linkend="doxygen"/> installed and wish to build
92 the API documentation, issue:
93 </para>
94
95<screen remap="doc"><userinput>doxygen</userinput></screen>
96
97 <para>
98 To test the results, issue: <command>make check</command>.
99 </para>
100
101 <para>
102 Now, as the <systemitem class="username">root</systemitem> user:
103 </para>
104
105<screen role="root"><userinput>make install</userinput></screen>
106
107 <para>
108 If you built the API documentation, install it using the following
109 commands issued by the <systemitem class="username">root</systemitem>
110 user:
111 </para>
112
113<screen role="root"
114 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &amp;&amp;
115install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
123 href="../../xincludes/static-libraries.xml"/>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Library</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>None</seg>
137 <seg>libpopt.so</seg>
138 <seg>/usr/share/doc/popt-&popt-version;</seg>
139 </seglistitem>
140 </segmentedlist>
141
142 <variablelist>
143 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
144 <?dbfo list-presentation="list"?>
145 <?dbhtml list-presentation="table"?>
146
147 <varlistentry id="libpopt">
148 <term><filename role='library'>libpopt.so</filename></term>
149 <listitem>
150 <para>
151 is used to parse command-line options.
152 </para>
153 <indexterm zone="popt libpopt">
154 <primary sortas="c-libpopt">libpopt.so</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158 </variablelist>
159
160 </sect2>
161
162</sect1>
Note: See TracBrowser for help on using the repository browser.