[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY pkgconfig-download-http "http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
| 8 | <!ENTITY pkgconfig-download-ftp " ">
|
---|
| 9 | <!ENTITY pkgconfig-size "604 KB">
|
---|
| 10 | <!ENTITY pkgconfig-buildsize "5.2 MB">
|
---|
| 11 | <!ENTITY pkgconfig-time "0.22 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[f45b1953] | 14 | <sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[7f72cbf] | 19 | <?dbhtml filename="pkgconfig.html"?>
|
---|
[f45b1953] | 20 | <title>pkgconfig-&pkgconfig-version;</title>
|
---|
| 21 |
|
---|
[52d29f7] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>pkgconfig</application></title>
|
---|
[82bc335] | 24 |
|
---|
[52d29f7] | 25 | <para>The <application>pkgconfig</application> package contains
|
---|
| 26 | tools for passing the include path and/or library paths to build tools during
|
---|
[82bc335] | 27 | the <command>make</command> file execution.</para>
|
---|
| 28 |
|
---|
[52d29f7] | 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
---|
| 34 | <listitem><para>Estimated Disk space required: &pkgconfig-buildsize;</para></listitem>
|
---|
| 35 | <listitem><para>Estimated build time: &pkgconfig-time;</para></listitem></itemizedlist>
|
---|
| 36 | </sect3>
|
---|
[82bc335] | 37 |
|
---|
[52d29f7] | 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2>
|
---|
| 41 | <title>Installation of <application>pkgconfig</application></title>
|
---|
[82bc335] | 42 |
|
---|
| 43 | <para>Install <application>pkgconfig</application> by running the following
|
---|
| 44 | commands:</para>
|
---|
| 45 |
|
---|
[52d29f7] | 46 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 47 | make &&
|
---|
| 48 | make install</command></userinput></screen>
|
---|
[82bc335] | 49 |
|
---|
[52d29f7] | 50 | </sect2>
|
---|
| 51 |
|
---|
| 52 | <sect2>
|
---|
| 53 | <title>Configuring <application>pkgconfig</application></title>
|
---|
[82bc335] | 54 |
|
---|
[52d29f7] | 55 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
| 56 | <filename>/usr/lib/pkgconfig</filename> because of the prefix we use to
|
---|
| 57 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
[82bc335] | 58 | additional paths on your system where <application>pkgconfig</application>
|
---|
| 59 | files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
---|
| 60 | when compiling packages, not during run-time.</para>
|
---|
| 61 |
|
---|
[52d29f7] | 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2>
|
---|
| 65 | <title>Contents</title>
|
---|
[82bc335] | 66 |
|
---|
[52d29f7] | 67 | <para>The <application>pkgconfig</application> package contains
|
---|
| 68 | <command>pkg-config</command>.</para>
|
---|
[82bc335] | 69 |
|
---|
[52d29f7] | 70 | </sect2>
|
---|
[82bc335] | 71 |
|
---|
[52d29f7] | 72 | <sect2><title>Description</title>
|
---|
[82bc335] | 73 |
|
---|
[52d29f7] | 74 | <sect3><title>pkg-config</title>
|
---|
[82bc335] | 75 | <para><command>pkg-config</command> is a function that returns meta information
|
---|
| 76 | for the specified library.</para></sect3>
|
---|
| 77 |
|
---|
[52d29f7] | 78 | </sect2>
|
---|
[f45b1953] | 79 |
|
---|
| 80 | </sect1>
|
---|
| 81 |
|
---|