pkgconfig.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. <sect1 id="ch-system-pkgconfig" role="wrap">
  8. <?dbhtml filename="pkg-config.html"?>
  9. <sect1info condition="script">
  10. <productname>pkgconfig</productname>
  11. <productnumber>&pkgconfig-version;</productnumber>
  12. <address>&pkgconfig-url;</address>
  13. </sect1info>
  14. <title>Pkg-config-&pkgconfig-version;</title>
  15. <indexterm zone="ch-system-pkgconfig">
  16. <primary sortas="a-pkgconfig">pkgconfig</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para> The pkg-config package contains a tool for passing the include path
  21. and/or library paths to build tools during the configure and make file
  22. execution.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&pkgconfig-ch6-sbu;</seg>
  28. <seg>&pkgconfig-ch6-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Pkg-config</title>
  34. <para>Prepare Pkg-config for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr \
  36. --with-internal-glib \
  37. --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen>
  38. <para>Compile the package:</para>
  39. <screen><userinput remap="make">make</userinput></screen>
  40. <para>To test the results, issue:</para>
  41. <screen><userinput remap="test">make check</userinput></screen>
  42. <para>Install the package:</para>
  43. <screen><userinput remap="install">make install</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-pkgconfig" role="content">
  46. <title>Contents of Pkg-config</title>
  47. <segmentedlist>
  48. <segtitle>Installed program</segtitle>
  49. <segtitle>Installed directory</segtitle>
  50. <seglistitem>
  51. <seg>pkg-config</seg>
  52. <seg>/usr/share/doc/pkg-config-0.26</seg>
  53. </seglistitem>
  54. </segmentedlist>
  55. <variablelist>
  56. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  57. <?dbfo list-presentation="list"?>
  58. <?dbhtml list-presentation="table"?>
  59. <varlistentry id="pkgconfig">
  60. <!-- Don't remove the extra space, it prevents a FOP warning. -->
  61. <term><command>pkg-config </command></term>
  62. <listitem>
  63. <para>returns meta information for the specified library or package.
  64. </para>
  65. <indexterm zone="ch-system-pkgconfig pkgconfig">
  66. <primary sortas="b-pkgconfig">pkg-config</primary>
  67. </indexterm>
  68. </listitem>
  69. </varlistentry>
  70. </variablelist>
  71. </sect2>
  72. </sect1>