pkgconfig.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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-installed-popt \
  37. --with-internal-glib \
  38. --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen>
  39. <para>Compile the package:</para>
  40. <screen><userinput remap="make">make</userinput></screen>
  41. <para>To test the results, issue:</para>
  42. <screen><userinput remap="test">make check</userinput></screen>
  43. <para>Install the package:</para>
  44. <screen><userinput remap="install">make install</userinput></screen>
  45. </sect2>
  46. <sect2 id="contents-pkgconfig" role="content">
  47. <title>Contents of Pkg-config</title>
  48. <segmentedlist>
  49. <segtitle>Installed program</segtitle>
  50. <segtitle>Installed directory</segtitle>
  51. <seglistitem>
  52. <seg>pkg-config</seg>
  53. <seg>/usr/share/doc/pkg-config-0.26</seg>
  54. </seglistitem>
  55. </segmentedlist>
  56. <variablelist>
  57. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  58. <?dbfo list-presentation="list"?>
  59. <?dbhtml list-presentation="table"?>
  60. <varlistentry id="pkgconfig">
  61. <!-- Don't remove the extra space, it prevents a FOP warning. -->
  62. <term><command>pkg-config </command></term>
  63. <listitem>
  64. <para>returns meta information for the specified library or package.
  65. </para>
  66. <indexterm zone="ch-system-pkgconfig pkgconfig">
  67. <primary sortas="b-pkgconfig">pkg-config</primary>
  68. </indexterm>
  69. </listitem>
  70. </varlistentry>
  71. </variablelist>
  72. </sect2>
  73. </sect1>