source: general/sysutils/pkgconfig.xml@ ceda816

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ceda816 was 56f09c92, checked in by David Jensen <djensen@…>, 19 years ago

small bugfix sed added to Pkgconfig-0.18

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4681 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkgconfig-&pkgconfig-version;.tar.gz">
8 <!ENTITY pkgconfig-download-ftp " ">
9<!-- <!ENTITY pkgconfig-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pkgconfig/&pkgconfig-version;/pkgconfig-&pkgconfig-version;.tar.gz">-->
10<!-- <!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">-->
11 <!ENTITY pkgconfig-md5sum "b20a993728a4df9c366e0582315f7b65">
12 <!ENTITY pkgconfig-size "965 KB">
13 <!ENTITY pkgconfig-buildsize "10.5 MB">
14 <!ENTITY pkgconfig-time "0.3 SBU">
15]>
16
17<sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
18 <?dbhtml filename="pkgconfig.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Pkgconfig-&pkgconfig-version;</title>
26
27 <indexterm zone="pkgconfig">
28 <primary sortas="a-Pkgconfig">Pkgconfig</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Pkgconfig</title>
33
34 <para>The <application>pkgconfig</application> package contains
35 tools for passing the include path and/or library paths to build tools during
36 the <command>make</command> file execution.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &pkgconfig-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &pkgconfig-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &pkgconfig-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &pkgconfig-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 </sect2>
61
62 <sect2 role="installation">
63 <title>Installation of Pkgconfig</title>
64
65 <para>Install <application>pkgconfig</application> by running the following
66 commands:</para>
67
68<screen><userinput>sed -i 's:pkg_failed=yes]):&amp;\nelse:' pkg.m4 &amp;&amp;
69./configure --prefix=/usr &amp;&amp;
70make</userinput></screen>
71
72 <para>To test the results, issue: <command>make check</command>.</para>
73
74 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
75
76<screen role="root"><userinput>make install</userinput></screen>
77
78 </sect2>
79
80 <sect2 role="configuration">
81 <title>Configuring Pkgconfig</title>
82
83 <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
84 <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
85 install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
86 additional paths on your system where <application>pkgconfig</application>
87 files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
88 when compiling packages, not during run-time.</para>
89
90 </sect2>
91
92 <sect2 role="content">
93 <title>Contents</title>
94
95 <segmentedlist>
96 <segtitle>Installed Program</segtitle>
97 <segtitle>Installed Libraries</segtitle>
98 <segtitle>Installed Directories</segtitle>
99
100 <seglistitem>
101 <seg>pkg-config</seg>
102 <seg>None</seg>
103 <seg>None</seg>
104 </seglistitem>
105 </segmentedlist>
106
107 <variablelist>
108 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
109 <?dbfo list-presentation="list"?>
110 <?dbhtml list-presentation="table"?>
111
112 <varlistentry id="pkg-config">
113 <term><command>pkg-config</command></term>
114 <listitem>
115 <para>is a function that returns meta information for the specified
116 library.</para>
117 <indexterm zone="pkgconfig pkg-config">
118 <primary sortas="b-pkg-config">pkg-config</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 </variablelist>
124
125 </sect2>
126
127</sect1>
128
Note: See TracBrowser for help on using the repository browser.