pkg-config.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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-pkg-config" role="wrap">
  8. <?dbhtml filename="pkg-config.html"?>
  9. <sect1info condition="script">
  10. <productname>pkg-config</productname>
  11. <productnumber>&pkg-config-version;</productnumber>
  12. <address>&pkg-config-url;</address>
  13. </sect1info>
  14. <title>Pkg-config-&pkg-config-version;</title>
  15. <indexterm zone="ch-system-pkg-config">
  16. <primary sortas="a-Pkg-config">Pkg-config</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>&pkg-config-ch6-sbu;</seg>
  28. <seg>&pkg-config-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</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>To test the results, issue:</para>
  39. <screen><userinput remap="test">make check</userinput></screen>
  40. <para>Install the package:</para>
  41. <screen><userinput remap="install">make install</userinput></screen>
  42. </sect2>
  43. <sect2 id="contents-pkg-config" role="content">
  44. <title>Contents of Pkg-config</title>
  45. <segmentedlist>
  46. <segtitle>Installed program</segtitle>
  47. <seglistitem>
  48. <seg>pkg-config</seg>
  49. </seglistitem>
  50. </segmentedlist>
  51. <variablelist>
  52. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  53. <?dbfo list-presentation="list"?>
  54. <?dbhtml list-presentation="table"?>
  55. <varlistentry id="pkg-config">
  56. <term><command>pkg-config</command></term>
  57. <listitem>
  58. <para>Returns meta information for the specified library or
  59. package.</para>
  60. <indexterm zone="ch-system-pkg-config pkg-config">
  61. <primary sortas="b-pkg-config">pkg-config</primary>
  62. </indexterm>
  63. </listitem>
  64. </varlistentry>
  65. </variablelist>
  66. </sect2>
  67. </sect1>