[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">
|
---|
[1586494] | 8 | <!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
[52d29f7] | 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"?>
|
---|
[1586494] | 20 | <title><application>pkgconfig</application>-&pkgconfig-version;</title>
|
---|
[f45b1953] | 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'>
|
---|
[1586494] | 31 | <listitem><para>Download (HTTP):
|
---|
| 32 | <ulink url="&pkgconfig-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP):
|
---|
| 34 | <ulink url="&pkgconfig-download-ftp;"/></para></listitem>
|
---|
[52d29f7] | 35 | <listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
---|
[1586494] | 36 | <listitem><para>Estimated disk space required:
|
---|
| 37 | &pkgconfig-buildsize;</para></listitem>
|
---|
| 38 | <listitem><para>Estimated build time:
|
---|
| 39 | &pkgconfig-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 40 | </sect3>
|
---|
[82bc335] | 41 |
|
---|
[52d29f7] | 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2>
|
---|
| 45 | <title>Installation of <application>pkgconfig</application></title>
|
---|
[82bc335] | 46 |
|
---|
| 47 | <para>Install <application>pkgconfig</application> by running the following
|
---|
| 48 | commands:</para>
|
---|
| 49 |
|
---|
[52d29f7] | 50 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 51 | make &&
|
---|
| 52 | make install</command></userinput></screen>
|
---|
[82bc335] | 53 |
|
---|
[52d29f7] | 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2>
|
---|
| 57 | <title>Configuring <application>pkgconfig</application></title>
|
---|
[82bc335] | 58 |
|
---|
[52d29f7] | 59 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
[1586494] | 60 | <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
---|
[52d29f7] | 61 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
[82bc335] | 62 | additional paths on your system where <application>pkgconfig</application>
|
---|
| 63 | files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
---|
| 64 | when compiling packages, not during run-time.</para>
|
---|
| 65 |
|
---|
[52d29f7] | 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2>
|
---|
| 69 | <title>Contents</title>
|
---|
[82bc335] | 70 |
|
---|
[52d29f7] | 71 | <para>The <application>pkgconfig</application> package contains
|
---|
| 72 | <command>pkg-config</command>.</para>
|
---|
[82bc335] | 73 |
|
---|
[52d29f7] | 74 | </sect2>
|
---|
[82bc335] | 75 |
|
---|
[52d29f7] | 76 | <sect2><title>Description</title>
|
---|
[82bc335] | 77 |
|
---|
[52d29f7] | 78 | <sect3><title>pkg-config</title>
|
---|
[82bc335] | 79 | <para><command>pkg-config</command> is a function that returns meta information
|
---|
| 80 | for the specified library.</para></sect3>
|
---|
| 81 |
|
---|
[52d29f7] | 82 | </sect2>
|
---|
[f45b1953] | 83 |
|
---|
| 84 | </sect1>
|
---|
| 85 |
|
---|