glfs/general/sysutils/pkgconfig.xml
Bruce Dubbs 52d29f7a42 XML Updates to Part III from DJ
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2304 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-06-12 22:56:28 +00:00

79 lines
3.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY pkgconfig-download-http "http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-&pkgconfig-version;.tar.gz">
<!ENTITY pkgconfig-download-ftp " ">
<!ENTITY pkgconfig-size "604 KB">
<!ENTITY pkgconfig-buildsize "5.2 MB">
<!ENTITY pkgconfig-time "0.22 SBU">
]>
<sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
<?dbhtml filename="pkgconfig.html"?>
<title>pkgconfig-&pkgconfig-version;</title>
<sect2>
<title>Introduction to <application>pkgconfig</application></title>
<para>The <application>pkgconfig</application> package contains
tools for passing the include path and/or library paths to build tools during
the make file execution.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para></listitem>
<listitem><para>Download size: &pkgconfig-size;</para></listitem>
<listitem><para>Estimated Disk space required: &pkgconfig-buildsize;</para></listitem>
<listitem><para>Estimated build time: &pkgconfig-time;</para></listitem></itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>pkgconfig</application></title>
<para>Install <application>pkgconfig</application> by running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Configuring <application>pkgconfig</application></title>
<para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
<filename>/usr/lib/pkgconfig</filename> because of the prefix we use to
install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
additional paths on your system where pkgconfig files are installed. Note
that <envar>PKG_CONFIG_PATH</envar> is only needed when compiling packages,
not during run-time.</para>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>pkgconfig</application> package contains
<command>pkg-config</command>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>pkg-config</title>
<para><command>pkg-config</command> is a function that returns meta information for the
specified library.</para></sect3>
</sect2>
</sect1>