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 "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
9 | <!ENTITY pkgconfig-size "604 KB">
|
---|
10 | <!ENTITY pkgconfig-buildsize "5.2 MB">
|
---|
11 | <!ENTITY pkgconfig-time "0.22 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="pkgconfig.html"?>
|
---|
20 | <title><application>pkgconfig</application>-&pkgconfig-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>pkgconfig</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>pkgconfig</application> package contains
|
---|
26 | tools for passing the include path and/or library paths to build tools during
|
---|
27 | the <command>make</command> file execution.</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
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>
|
---|
35 | <listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
---|
36 | <listitem><para>Estimated disk space required:
|
---|
37 | &pkgconfig-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time:
|
---|
39 | &pkgconfig-time;</para></listitem></itemizedlist>
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | </sect2>
|
---|
43 |
|
---|
44 | <sect2>
|
---|
45 | <title>Installation of <application>pkgconfig</application></title>
|
---|
46 |
|
---|
47 | <para>Install <application>pkgconfig</application> by running the following
|
---|
48 | commands:</para>
|
---|
49 |
|
---|
50 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
51 | make &&
|
---|
52 | make install</command></userinput></screen>
|
---|
53 |
|
---|
54 | </sect2>
|
---|
55 |
|
---|
56 | <sect2>
|
---|
57 | <title>Configuring <application>pkgconfig</application></title>
|
---|
58 |
|
---|
59 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
60 | <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
---|
61 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
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 |
|
---|
66 | </sect2>
|
---|
67 |
|
---|
68 | <sect2>
|
---|
69 | <title>Contents</title>
|
---|
70 |
|
---|
71 | <para>The <application>pkgconfig</application> package contains
|
---|
72 | <command>pkg-config</command>.</para>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2><title>Description</title>
|
---|
77 |
|
---|
78 | <sect3><title>pkg-config</title>
|
---|
79 | <para><command>pkg-config</command> is a function that returns meta information
|
---|
80 | for the specified library.</para></sect3>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | </sect1>
|
---|
85 |
|
---|