source: general/genlib/libuv.xml@ b5689ba

elogind
Last change on this file since b5689ba was b5689ba, checked in by DJ Lucas <dj@…>, 6 years ago

Merge to HEAD 20855

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@20857 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.3 KB
Line 
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 <!ENTITY libuv-download-http "https://dist.libuv.org/dist/v&libuv-version;/libuv-v&libuv-version;.tar.gz">
8 <!ENTITY libuv-download-ftp " ">
9 <!ENTITY libuv-md5sum "a06eb31fe41c446ace34dc1d1d335964">
10 <!ENTITY libuv-size "1.1 MB">
11 <!ENTITY libuv-buildsize "12 MB (add 11 MB for tests)">
12 <!ENTITY libuv-time "0.1 SBU (add 0.6 SBU for tests)">
13]>
14
15<sect1 id="libuv" xreflabel="libuv-&libuv-version;">
16 <?dbhtml filename="libuv.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libuv-&libuv-version;</title>
24
25 <indexterm zone="libuv">
26 <primary sortas="a-libuv">libuv</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libuv</title>
31
32 <para>
33 The <application>libuv</application> package is a
34 multi-platform support library with a focus on asynchronous I/O.
35 </para>
36
37 &lfs83_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libuv-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libuv-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libuv-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libuv-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libuv-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libuv-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72<!--
73 <bridgehead renderas="sect3">libuv Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="???"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="???"/>
83 </para>
84-->
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/libuv"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of libuv</title>
92
93 <para>
94 Install <application>libuv</application> by running the following
95 commands:
96 </para>
97
98<screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt &amp;&amp;
99
100mkdir build &amp;&amp;
101cd build &amp;&amp;
102
103cmake -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
104make </userinput></screen>
105
106 <para>
107 If you want to run the tests, add -DBUILD_TESTING=true to
108 the cmake line above and after building run:
109 <command>make test</command>.
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>make install</userinput></screen>
117
118 </sect2>
119
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <para>
125 <command>sed ...</command>: This command disables installation
126 of the static library.
127 </para>
128
129 </sect2>
130
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Programs</segtitle>
136 <segtitle>Installed Library</segtitle>
137 <segtitle>Installed Directory</segtitle>
138
139 <seglistitem>
140 <seg>
141 None
142 </seg>
143 <seg>
144 libuv.so
145 </seg>
146 <seg>
147 /usr/include/uv
148 </seg>
149 </seglistitem>
150 </segmentedlist>
151
152 <variablelist>
153 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
154 <?dbfo list-presentation="list"?>
155 <?dbhtml list-presentation="table"?>
156
157 <varlistentry id="libuv.so">
158 <term><filename class="libraryfile">libuv.so</filename></term>
159 <listitem>
160 <para>
161 contains API functions for asynchronous I/O operations
162 </para>
163 <indexterm zone="libuv libuv.so">
164 <primary sortas="c-libuv.so">libuv.so</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.