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 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
---|
16 | <?dbhtml filename="pkgconfig.html"?>
|
---|
17 | <title>pkgconfig-&pkgconfig-version;</title>
|
---|
18 |
|
---|
19 | <sect2>
|
---|
20 | <title>Introduction to <application>pkgconfig</application></title>
|
---|
21 |
|
---|
22 | <para>The <application>pkgconfig</application> package contains
|
---|
23 | tools for passing the include path and/or library paths to build tools during
|
---|
24 | the make file execution.</para>
|
---|
25 |
|
---|
26 | <sect3><title>Package information</title>
|
---|
27 | <itemizedlist spacing='compact'>
|
---|
28 | <listitem><para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para></listitem>
|
---|
29 | <listitem><para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para></listitem>
|
---|
30 | <listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
---|
31 | <listitem><para>Estimated Disk space required: &pkgconfig-buildsize;</para></listitem>
|
---|
32 | <listitem><para>Estimated build time: &pkgconfig-time;</para></listitem></itemizedlist>
|
---|
33 | </sect3>
|
---|
34 |
|
---|
35 |
|
---|
36 | </sect2>
|
---|
37 |
|
---|
38 | <sect2>
|
---|
39 | <title>Installation of <application>pkgconfig</application></title>
|
---|
40 |
|
---|
41 | <para>Install <application>pkgconfig</application> by running the following commands:</para>
|
---|
42 |
|
---|
43 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
44 | make &&
|
---|
45 | make install</command></userinput></screen>
|
---|
46 |
|
---|
47 | </sect2>
|
---|
48 |
|
---|
49 | <sect2>
|
---|
50 | <title>Configuring <application>pkgconfig</application></title>
|
---|
51 |
|
---|
52 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
53 | <filename>/usr/lib/pkgconfig</filename> because of the prefix we use to
|
---|
54 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
55 | additional paths on your system where pkgconfig files are installed. Note
|
---|
56 | that <envar>PKG_CONFIG_PATH</envar> is only needed when compiling packages,
|
---|
57 | not during run-time.</para>
|
---|
58 |
|
---|
59 | </sect2>
|
---|
60 |
|
---|
61 | <sect2>
|
---|
62 | <title>Contents</title>
|
---|
63 |
|
---|
64 | <para>The <application>pkgconfig</application> package contains
|
---|
65 | <command>pkg-config</command>.</para>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2><title>Description</title>
|
---|
70 |
|
---|
71 | <sect3><title>pkg-config</title>
|
---|
72 | <para><command>pkg-config</command> is a function that returns meta information for the
|
---|
73 | specified library.</para></sect3>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | </sect1>
|
---|
78 |
|
---|