[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[4b95c5d] | 7 | <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
| 8 | <!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
| 9 | <!ENTITY pkgconfig-md5sum "a0829ae71b586e027183b2a1cfe0ce88">
|
---|
| 10 | <!ENTITY pkgconfig-size "965 KB">
|
---|
| 11 | <!ENTITY pkgconfig-buildsize "10.7 MB">
|
---|
| 12 | <!ENTITY pkgconfig-time "0.31 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
---|
[4b95c5d] | 16 | <?dbhtml filename="pkgconfig.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Pkgconfig-&pkgconfig-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="pkgconfig">
|
---|
| 26 | <primary sortas="a-Pkgconfig">Pkgconfig</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Pkgconfig</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>pkgconfig</application> package contains
|
---|
| 33 | tools for passing the include path and/or library paths to build tools during
|
---|
| 34 | the <command>make</command> file execution.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &pkgconfig-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &pkgconfig-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &pkgconfig-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &pkgconfig-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2 role="installation">
|
---|
| 61 | <title>Installation of Pkgconfig</title>
|
---|
| 62 |
|
---|
| 63 | <para>Install <application>pkgconfig</application> by running the following
|
---|
| 64 | commands:</para>
|
---|
| 65 |
|
---|
| 66 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 67 | make</userinput></screen>
|
---|
| 68 |
|
---|
| 69 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 70 |
|
---|
| 71 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 72 |
|
---|
| 73 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="configuration">
|
---|
| 78 | <title>Configuring Pkgconfig</title>
|
---|
| 79 |
|
---|
| 80 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
| 81 | <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
---|
| 82 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
| 83 | additional paths on your system where <application>pkgconfig</application>
|
---|
| 84 | files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
---|
| 85 | when compiling packages, not during run-time.</para>
|
---|
| 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="content">
|
---|
| 90 | <title>Contents</title>
|
---|
| 91 |
|
---|
| 92 | <segmentedlist>
|
---|
| 93 | <segtitle>Installed Program</segtitle>
|
---|
| 94 | <segtitle>Installed Libraries</segtitle>
|
---|
| 95 | <segtitle>Installed Directories</segtitle>
|
---|
| 96 |
|
---|
| 97 | <seglistitem>
|
---|
| 98 | <seg>pkg-config</seg>
|
---|
| 99 | <seg>None</seg>
|
---|
| 100 | <seg>None</seg>
|
---|
| 101 | </seglistitem>
|
---|
| 102 | </segmentedlist>
|
---|
| 103 |
|
---|
| 104 | <variablelist>
|
---|
| 105 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 106 | <?dbfo list-presentation="list"?>
|
---|
| 107 | <?dbhtml list-presentation="table"?>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="pkg-config">
|
---|
| 110 | <term><command>pkg-config</command></term>
|
---|
| 111 | <listitem>
|
---|
| 112 | <para>is a function that returns meta information for the specified
|
---|
| 113 | library.</para>
|
---|
| 114 | <indexterm zone="pkgconfig pkg-config">
|
---|
| 115 | <primary sortas="b-pkg-config">pkg-config</primary>
|
---|
| 116 | </indexterm>
|
---|
| 117 | </listitem>
|
---|
| 118 | </varlistentry>
|
---|
| 119 |
|
---|
| 120 | </variablelist>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
[7188fe3e] | 123 |
|
---|
[f45b1953] | 124 | </sect1>
|
---|
| 125 |
|
---|