glfs/general/genlib/libdaemon.xml
Randy McMurchy 5bdb105a47 Added documentation installation commands to the libdaemon instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8732 af4574ff-66df-0310-9fd7-8a98e5e911e0
2010-12-05 20:13:25 +00:00

136 lines
4.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libdaemon-download-http "http://0pointer.de/lennart/projects/libdaemon/libdaemon-&libdaemon-version;.tar.gz">
<!ENTITY libdaemon-download-ftp " ">
<!ENTITY libdaemon-md5sum "509dc27107c21bcd9fbf2f95f5669563">
<!ENTITY libdaemon-size "332 KB">
<!ENTITY libdaemon-buildsize "3 MB">
<!ENTITY libdaemon-time "0.1 SBU">
]>
<sect1 id="libdaemon" xreflabel="libdaemon-&libdaemon-version;">
<?dbhtml filename="libdaemon.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libdaemon-&libdaemon-version;</title>
<indexterm zone="libdaemon">
<primary sortas="a-libdaemon">libdaemon</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libdaemon</title>
<para>The <application>libdaemon</application> package is a lightweight C
library that eases the writing of UNIX daemons.</para>
&lfs65_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libdaemon-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libdaemon-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libdaemon-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libdaemon-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libdaemon-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libdaemon-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libdaemon Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="lynx"/> and
<xref linkend="doxygen"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libdaemon"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of libdaemon</title>
<para>Install <application>libdaemon</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>If you have <application>Doxygen</application> installed and wish to
build the API documentation, issue the following command:</para>
<screen><userinput>make -C doc doxygen</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make docdir=/usr/share/doc/libdaemon-&libdaemon-version; install</userinput></screen>
<para>If you built the API documentation, install it using the following
commands as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libdaemon-&libdaemon-version;/api &amp;&amp;
install -v -m644 doc/reference/html/* \
/usr/share/doc/libdaemon-&libdaemon-version;/api</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libdaemon.{so,a}</seg>
<seg>/usr/include/libdaemon and
/usr/share/doc/libdaemon-&libdaemon-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libdaemon-lib">
<term><filename class='libraryfile'>libdaemon.{so,a}</filename></term>
<listitem>
<para>contains the <application>libdaemon</application> API
functions.</para>
<indexterm zone="libdaemon libdaemon-lib">
<primary sortas="c-libdaemon">libdaemon.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>