Update to libcap-2.28.
[linux_from_scratch.git] / chapter06 / libpipeline.xml
blob2ad05deee00b8ffad508a752ce9c2fbb49134626
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 ]>
8 <sect1 id="ch-system-libpipeline" role="wrap">
9   <?dbhtml filename="libpipeline.html"?>
11   <sect1info condition="script">
12     <productname>libpipeline</productname>
13     <productnumber>&libpipeline-version;</productnumber>
14     <address>&libpipeline-url;</address>
15   </sect1info>
17   <title>Libpipeline-&libpipeline-version;</title>
19   <indexterm zone="ch-system-libpipeline">
20     <primary sortas="a-Libpipeline">Libpipeline</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Libpipeline package contains a library for manipulating pipelines
27     of subprocesses in a flexible and convenient way.</para>
29     <segmentedlist>
30       <segtitle>&buildtime;</segtitle>
31       <segtitle>&diskspace;</segtitle>
33       <seglistitem>
34         <seg>&libpipeline-ch6-sbu;</seg>
35         <seg>&libpipeline-ch6-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of Libpipeline</title>
44     <para>Prepare Libpipeline for compilation:</para>
46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
48 <!--
49 <screen><userinput remap="configure">PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure - -prefix=/usr</userinput></screen>
51     <variablelist>
52       <title>The meaning of the configure options:</title>
54       <varlistentry>
55         <term><parameter>PKG_CONFIG_PATH</parameter></term>
56         <listitem>
57           <para>Use pkg-config to obtain the location of the test
58           library metadata built in <xref linkend="ch-tools-check"/>.</para>
59         </listitem>
60       </varlistentry>
62     </variablelist>
63 -->
64     <para>Compile the package:</para>
66 <screen><userinput remap="make">make</userinput></screen>
68     <para>To test the results, issue:</para>
70 <screen><userinput remap="test">make check</userinput></screen>
72     <para>Install the package:</para>
74 <screen><userinput remap="install">make install</userinput></screen>
76   </sect2>
78   <sect2 id="contents-libpipeline" role="content">
79     <title>Contents of Libpipeline</title>
81     <segmentedlist>
82       <segtitle>Installed library</segtitle>
84       <seglistitem>
85         <seg>libpipeline.so</seg>
86       </seglistitem>
87     </segmentedlist>
89     <variablelist>
90       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
91       <?dbfo list-presentation="list"?>
92       <?dbhtml list-presentation="table"?>
94       <varlistentry id="libpipeline">
95         <term><filename class="libraryfile">libpipeline</filename></term>
96         <listitem>
97           <para>This library is used to safely construct pipelines between
98           subprocesses</para>
99           <indexterm zone="ch-system-libpipeline">
100             <primary sortas="c-libpipeline">libpipeline</primary>
101           </indexterm>
102         </listitem>
103       </varlistentry>
104     </variablelist>
106   </sect2>
108 </sect1>