source: general/genlib/libyaml.xml@ 9d0684c

11.0 qt5new trunk
Last change on this file since 9d0684c was 9d0684c, checked in by Xi Ruoyao <xry111@…>, 5 months ago

libyaml: use a better tarball name

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