[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[9d0dd692] | 7 | <!ENTITY popt-download-http "http://rpm5.org/files/popt/popt-&popt-version;.tar.gz">
|
---|
[d0151ee] | 8 | <!ENTITY popt-download-ftp "&sources-anduin-ftp;/p/popt-&popt-version;.tar.gz">
|
---|
[3c5a0ae] | 9 | <!ENTITY popt-md5sum "c61ef795fa450eb692602a661ec8d7f1">
|
---|
| 10 | <!ENTITY popt-size "656 kB">
|
---|
| 11 | <!ENTITY popt-buildsize "7.9 MB (includes installing documentation)">
|
---|
[8bc5636f] | 12 | <!ENTITY popt-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="popt" xreflabel="popt-&popt-version;">
|
---|
[36f0d75] | 16 | <?dbhtml filename="popt.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[36f0d75] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[b3da5f2c] | 23 | <title>Popt-&popt-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[36f0d75] | 25 | <indexterm zone="popt">
|
---|
| 26 | <primary sortas="a-Popt">Popt</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Popt</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[74390482] | 32 | <para>The <application>popt</application> package contains the
|
---|
[36f0d75] | 33 | <application>popt</application> libraries which are used by
|
---|
| 34 | some programs to parse command-line options.</para>
|
---|
[8e75f8b9] | 35 |
|
---|
[36f0d75] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &popt-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &popt-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &popt-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &popt-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
[8e75f8b9] | 57 |
|
---|
[1039de3] | 58 | <para condition="html" role="usernotes">User Notes:
|
---|
| 59 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 60 |
|
---|
[36f0d75] | 61 | </sect2>
|
---|
[8e75f8b9] | 62 |
|
---|
[36f0d75] | 63 | <sect2 role="installation">
|
---|
| 64 | <title>Installation of Popt</title>
|
---|
| 65 |
|
---|
[74390482] | 66 | <para>Install <application>popt</application> by running the following
|
---|
[36f0d75] | 67 | commands:</para>
|
---|
| 68 |
|
---|
[b834dfc7] | 69 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[36f0d75] | 70 | make</userinput></screen>
|
---|
[8e75f8b9] | 71 |
|
---|
[189885b] | 72 | <para>If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
| 73 | the API documentation, issue <command>doxygen</command>.</para>
|
---|
| 74 |
|
---|
[2f7d86f] | 75 | <para>To test the results, issue:</para>
|
---|
[6473e74] | 76 |
|
---|
[b3da5f2c] | 77 | <screen><userinput>make check</userinput></screen>
|
---|
[58ff87a] | 78 |
|
---|
[36f0d75] | 79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 80 |
|
---|
[36f0d75] | 81 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 82 |
|
---|
[189885b] | 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 |
|
---|
[36f0d75] | 90 | </sect2>
|
---|
[8e75f8b9] | 91 |
|
---|
[36f0d75] | 92 | <sect2 role="content">
|
---|
| 93 | <title>Contents</title>
|
---|
| 94 |
|
---|
| 95 | <segmentedlist>
|
---|
| 96 | <segtitle>Installed Programs</segtitle>
|
---|
| 97 | <segtitle>Installed Library</segtitle>
|
---|
| 98 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 99 |
|
---|
[36f0d75] | 100 | <seglistitem>
|
---|
| 101 | <seg>None</seg>
|
---|
[1039de3] | 102 | <seg>libpopt.{so,a}</seg>
|
---|
[189885b] | 103 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 104 | </seglistitem>
|
---|
| 105 | </segmentedlist>
|
---|
[8e75f8b9] | 106 |
|
---|
[36f0d75] | 107 | <variablelist>
|
---|
| 108 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 109 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 110 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 111 |
|
---|
[36f0d75] | 112 | <varlistentry id="libpopt">
|
---|
[1039de3] | 113 | <term><filename role='library'>libpopt.{so,a}</filename></term>
|
---|
[36f0d75] | 114 | <listitem>
|
---|
| 115 | <para> is used to parse command-line options.</para>
|
---|
| 116 | <indexterm zone="popt libpopt">
|
---|
[1039de3] | 117 | <primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
---|
[36f0d75] | 118 | </indexterm>
|
---|
| 119 | </listitem>
|
---|
| 120 | </varlistentry>
|
---|
| 121 | </variablelist>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
[f45b1953] | 124 |
|
---|
| 125 | </sect1>
|
---|