source: chapter08/pkgconf.xml@ 138b87f

12.0 12.0-rc1 12.1 12.1-rc1 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 138b87f was 36c4569b, checked in by Xi Ruoyao <xry111@…>, 13 months ago

Replace pkg-config with pkgconf

  • Property mode set to 100644
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-pkgconf" role="wrap">
9 <?dbhtml filename="pkgconf.html"?>
10
11 <sect1info condition="script">
12 <productname>pkgconf</productname>
13 <productnumber>&pkgconf-version;</productnumber>
14 <address>&pkgconf-url;</address>
15 </sect1info>
16
17 <title>Pkgconf-&pkgconf-version;</title>
18
19 <indexterm zone="ch-system-pkgconf">
20 <primary sortas="a-pkgconf">Pkgconf</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The pkgconf package is a
27 successor to pkg-config and contains a tool for passing the include path
28 and/or library paths to build tools during the configure and make phases
29 of package installations.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&pkgconf-fin-sbu;</seg>
37 <seg>&pkgconf-fin-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Pkgconf</title>
45
46 <para>Prepare Pkgconf for compilation:</para>
47
48<screen><userinput remap="configure">./configure --prefix=/usr \
49 --disable-static \
50 --docdir=/usr/share/doc/pkgconf-&pkgconf-version;</userinput></screen>
51
52 <para>Compile the package:</para>
53
54<screen><userinput remap="make">make</userinput></screen>
55
56 <para>Install the package:</para>
57
58<screen><userinput remap="install">make install</userinput></screen>
59
60 <para>To maintain compatibility with the original Pkg-config create a
61 symlink:</para>
62
63<screen><userinput remap="install">ln -sfv pkgconf /usr/bin/pkg-config</userinput></screen>
64
65 </sect2>
66
67 <sect2 id="contents-pkgconf" role="content">
68 <title>Contents of Pkgconf</title>
69
70 <segmentedlist>
71 <segtitle>Installed programs</segtitle>
72 <segtitle>Installed library</segtitle>
73 <segtitle>Installed directory</segtitle>
74
75 <seglistitem>
76 <seg>pkgconf, pkg-config (link to pkgconf), and bomtool</seg>
77 <seg>libpkgconf.so</seg>
78 <seg>/usr/share/doc/pkgconf-&pkgconf-version;</seg>
79 </seglistitem>
80 </segmentedlist>
81
82 <variablelist>
83 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84 <?dbfo list-presentation="list"?>
85 <?dbhtml list-presentation="table"?>
86
87 <varlistentry id="pkgconf">
88 <term><command>pkgconf</command></term>
89 <listitem>
90 <para>Returns meta information for the specified library or
91 package</para>
92 <indexterm zone="ch-system-pkgconf pkgconf">
93 <primary sortas="b-pkgconf">pkgconf</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="bomtool">
99 <term><command>bomtool</command></term>
100 <listitem>
101 <para>Generates a Software Bill Of Materials from pkg-config .pc
102 files</para>
103 <indexterm zone="ch-system-pkgconf bomtool">
104 <primary sortas="b-bomtool">bomtool</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry id="libpkgconf">
110 <term><filename class="libraryfile">libpkgconf</filename></term>
111 <listitem>
112 <para>Contains most of pkgconf's functionality, while allowing
113 other tools like IDEs and compilers to use its frameworks</para>
114 <indexterm zone="ch-system-pkgconf libpkgconf">
115 <primary sortas="c-libpkgconf">libpkgconf</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119 </variablelist>
120 </sect2>
121
122</sect1>
Note: See TracBrowser for help on using the repository browser.