glfs/general/sysutils/pkgconfig.xml

88 lines
2.9 KiB
XML
Raw Normal View History

<?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 "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">
<!ENTITY pkgconfig-md5sum "a7e4f60a6657dbc434334deb594cc242">
<!ENTITY pkgconfig-size "604 KB">
<!ENTITY pkgconfig-buildsize "5.2 MB">
<!ENTITY pkgconfig-time "0.22 SBU">
]>
<sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="pkgconfig.html"?>
<title><application>pkgconfig</application>-&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 <command>make</command> 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 MD5 sum: &pkgconfig-md5sum;</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 used to
install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
additional paths on your system where <application>pkgconfig</application>
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>