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-md5sum "a7e4f60a6657dbc434334deb594cc242">
|
---|
10 | <!ENTITY pkgconfig-size "610 KB">
|
---|
11 | <!ENTITY pkgconfig-buildsize "7.6 MB">
|
---|
12 | <!ENTITY pkgconfig-time "0.19 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="pkgconfig.html"?>
|
---|
21 | <title><application>pkgconfig</application>-&pkgconfig-version;</title>
|
---|
22 | <indexterm zone="pkgconfig">
|
---|
23 | <primary sortas="a-Pkgconfig">Pkgconfig</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>pkgconfig</application></title>
|
---|
27 |
|
---|
28 | <para>The <application>pkgconfig</application> package contains
|
---|
29 | tools for passing the include path and/or library paths to build tools during
|
---|
30 | the <command>make</command> file execution.</para>
|
---|
31 |
|
---|
32 | <sect3><title>Package information</title>
|
---|
33 | <itemizedlist spacing='compact'>
|
---|
34 | <listitem><para>Download (HTTP):
|
---|
35 | <ulink url="&pkgconfig-download-http;"/></para></listitem>
|
---|
36 | <listitem><para>Download (FTP):
|
---|
37 | <ulink url="&pkgconfig-download-ftp;"/></para></listitem>
|
---|
38 | <listitem><para>Download MD5 sum: &pkgconfig-md5sum;</para></listitem>
|
---|
39 | <listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
---|
40 | <listitem><para>Estimated disk space required:
|
---|
41 | &pkgconfig-buildsize;</para></listitem>
|
---|
42 | <listitem><para>Estimated build time:
|
---|
43 | &pkgconfig-time;</para></listitem></itemizedlist>
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | </sect2>
|
---|
47 |
|
---|
48 | <sect2>
|
---|
49 | <title>Installation of <application>pkgconfig</application></title>
|
---|
50 |
|
---|
51 | <para>Install <application>pkgconfig</application> by running the following
|
---|
52 | commands:</para>
|
---|
53 |
|
---|
54 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
55 | make</command></userinput></screen>
|
---|
56 |
|
---|
57 | <para>Now, as the root user:</para>
|
---|
58 |
|
---|
59 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
60 |
|
---|
61 | </sect2>
|
---|
62 |
|
---|
63 | <sect2>
|
---|
64 | <title>Configuring <application>pkgconfig</application></title>
|
---|
65 |
|
---|
66 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
67 | <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
---|
68 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
69 | additional paths on your system where <application>pkgconfig</application>
|
---|
70 | files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
---|
71 | when compiling packages, not during run-time.</para>
|
---|
72 |
|
---|
73 | </sect2>
|
---|
74 |
|
---|
75 | <sect2>
|
---|
76 | <title>Contents</title>
|
---|
77 |
|
---|
78 | <segmentedlist>
|
---|
79 | <segtitle>Installed Programs</segtitle>
|
---|
80 | <segtitle>Installed Libraries</segtitle>
|
---|
81 | <segtitle>Installed Directories</segtitle>
|
---|
82 |
|
---|
83 | <seglistitem>
|
---|
84 | <seg>pkg-config</seg>
|
---|
85 | <seg>None</seg>
|
---|
86 | <seg>None</seg>
|
---|
87 | </seglistitem>
|
---|
88 | </segmentedlist>
|
---|
89 |
|
---|
90 | <variablelist>
|
---|
91 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
92 | <?dbfo list-presentation="list"?>
|
---|
93 |
|
---|
94 | <varlistentry id="pkg-config">
|
---|
95 | <term><command>pkg-config</command></term>
|
---|
96 | <listitem><para>is a function that returns meta information for the specified
|
---|
97 | library.</para>
|
---|
98 | <indexterm zone="pkgconfig pkg-config">
|
---|
99 | <primary sortas="b-pkg-config">pkg-config</primary>
|
---|
100 | </indexterm></listitem>
|
---|
101 | </varlistentry>
|
---|
102 |
|
---|
103 | </variablelist>
|
---|
104 | </sect2>
|
---|
105 | </sect1>
|
---|
106 |
|
---|