source: general/genlib/libyaml.xml

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

Lots of tags

  • Property mode set to 100644
File size: 4.1 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 yaml-download-http "https://github.com/yaml/libyaml/releases/download/&yaml-version;/yaml-&yaml-version;.tar.gz">
8 <!ENTITY yaml-download-ftp " ">
9 <!ENTITY yaml-md5sum "bb15429d8fb787e7d3f1c83ae129a999">
10 <!ENTITY yaml-size "596 KB">
11 <!ENTITY yaml-buildsize "6.4 MB (with tests)">
12 <!ENTITY yaml-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="libyaml" xreflabel="libyaml-&yaml-version;">
16 <?dbhtml filename="libyaml.html"?>
17
18
19 <title>libyaml-&yaml-version;</title>
20
21 <indexterm zone="libyaml">
22 <primary sortas="a-libyaml">libyaml</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libyaml</title>
27
28 <para>
29 The <application>yaml</application> package contains a C
30 library for parsing and emitting YAML (YAML Ain't Markup
31 Language) code.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&yaml-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&yaml-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &yaml-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &yaml-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &yaml-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &yaml-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">libyaml Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional">
74 <xref linkend="doxygen"/>
75 </para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of libyaml</title>
81
82 <para>
83 Install <application>libyaml</application> by running the following
84 commands:
85 </para>
86
87 <screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
88make</userinput></screen>
89
90<!--
91<screen><userinput>mkdir build &amp;&amp;
92cd build &amp;&amp;
93
94cmake -DCMAKE_INSTALL_PREFIX=/usr \
95 -DBUILD_SHARED_LIBS=true \
96 -DCMAKE_BUILD_TYPE=RELEASE .. &amp;&amp;
97make</userinput></screen> -->
98
99 <para>
100 To test the results, issue: <command>make check</command>.
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../../xincludes/static-libraries.xml"/>
116
117 </sect2>
118
119 <sect2 role="content">
120 <title>Contents</title>
121
122 <segmentedlist>
123 <segtitle>Installed Programs</segtitle>
124 <segtitle>Installed Libraries</segtitle>
125 <segtitle>Installed Directories</segtitle>
126
127 <seglistitem>
128 <seg>
129 None
130 </seg>
131 <seg>
132 libyaml.so
133 </seg>
134 <seg>
135 None
136 </seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="libyaml-lib">
146 <term><filename class="libraryfile">libyaml.so</filename></term>
147 <listitem>
148 <para>
149 contains API functions for parsing and emitting YAML code
150 </para>
151 <indexterm zone="libyaml libyaml-lib">
152 <primary sortas="c-libyaml">libyaml.so</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 </variablelist>
158
159 </sect2>
160
161</sect1>
Note: See TracBrowser for help on using the repository browser.