glfs/general/genlib/libyaml.xml
Bruce Dubbs 03a2986c05 A package update and some tags.
Update to libqalculate-4.0.0.
2022-02-16 22:44:55 -06:00

168 lines
4.2 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 yaml-download-http "https://github.com/yaml/libyaml/releases/download/&yaml-version;/yaml-&yaml-version;.tar.gz">
<!ENTITY yaml-download-ftp " ">
<!ENTITY yaml-md5sum "bb15429d8fb787e7d3f1c83ae129a999">
<!ENTITY yaml-size "596 KB">
<!ENTITY yaml-buildsize "6.4 MB (with tests)">
<!ENTITY yaml-time "less than 0.1 SBU (with tests)">
]>
<sect1 id="libyaml" xreflabel="libyaml-&yaml-version;">
<?dbhtml filename="libyaml.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>libyaml-&yaml-version;</title>
<indexterm zone="libyaml">
<primary sortas="a-libyaml">libyaml</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libyaml</title>
<para>
The <application>yaml</application> package contains a C
library for parsing and emitting YAML (YAML Ain't Markup
Language) code.
</para>
&lfs111_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&yaml-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&yaml-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &yaml-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &yaml-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &yaml-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &yaml-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libyaml Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="doxygen"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libyaml"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libyaml</title>
<para>
Install <application>libyaml</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<!--
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=true \
-DCMAKE_BUILD_TYPE=RELEASE .. &amp;&amp;
make</userinput></screen> -->
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libyaml.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libyaml-lib">
<term><filename class="libraryfile">libyaml.so</filename></term>
<listitem>
<para>
contains API functions for parsing and emitting YAML code
</para>
<indexterm zone="libyaml libyaml-lib">
<primary sortas="c-libyaml">libyaml.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>