source: general/genlib/libdaemon.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Tags

  • Property mode set to 100644
File size: 4.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 <!ENTITY libdaemon-download-http "https://0pointer.de/lennart/projects/libdaemon/libdaemon-&libdaemon-version;.tar.gz">
8 <!ENTITY libdaemon-download-ftp " ">
9 <!ENTITY libdaemon-md5sum "509dc27107c21bcd9fbf2f95f5669563">
10 <!ENTITY libdaemon-size "332 KB">
11 <!ENTITY libdaemon-buildsize "3 MB">
12 <!ENTITY libdaemon-time "0.1 SBU">
13]>
14
15<sect1 id="libdaemon" xreflabel="libdaemon-&libdaemon-version;">
16 <?dbhtml filename="libdaemon.html"?>
17
18
19 <title>libdaemon-&libdaemon-version;</title>
20
21 <indexterm zone="libdaemon">
22 <primary sortas="a-libdaemon">libdaemon</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libdaemon</title>
27
28 <para>
29 The <application>libdaemon</application> package is a lightweight C
30 library that eases the writing of UNIX daemons.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&libdaemon-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&libdaemon-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &libdaemon-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &libdaemon-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &libdaemon-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &libdaemon-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">libdaemon Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional">
73 <xref linkend="doxygen"/> and
74 <xref linkend="lynx"/>
75 </para>
76
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of libdaemon</title>
82
83 <para>
84 Install <application>libdaemon</application> by running the following
85 commands:
86 </para>
87
88<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
89make</userinput></screen>
90
91 <para>
92 If you have <application>Doxygen</application> installed and wish to
93 build the API documentation, issue the following command:
94 </para>
95
96<screen remap="doc"><userinput>make -C doc doxygen</userinput></screen>
97
98 <para>
99 This package does not come with a test suite.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make docdir=/usr/share/doc/libdaemon-&libdaemon-version; install</userinput></screen>
107
108 <para>
109 If you built the API documentation, install it using the following commands
110 as the <systemitem class="username">root</systemitem> user:
111 </para>
112
113<!-- there is a link from README.html to reference/html, so install there -->
114<screen role="root"
115 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/libdaemon-&libdaemon-version;/reference/html &amp;&amp;
116install -v -m644 doc/reference/html/* /usr/share/doc/libdaemon-&libdaemon-version;/reference/html &amp;&amp;
117install -v -m644 doc/reference/man/man3/* /usr/share/man/man3</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/static-libraries.xml"/>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Library</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>
139 None
140 </seg>
141 <seg>
142 libdaemon.so
143 </seg>
144 <seg>
145 /usr/include/libdaemon and
146 /usr/share/doc/libdaemon-&libdaemon-version;
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="libdaemon-lib">
157 <term><filename class="libraryfile">libdaemon.so</filename></term>
158 <listitem>
159 <para>
160 contains the <application>libdaemon</application> API functions
161 </para>
162 <indexterm zone="libdaemon libdaemon-lib">
163 <primary sortas="c-libdaemon">libdaemon.so</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.