glfs/general/genlib/json-c.xml
Krejzi c3c56b2edd Reimplement none where nothing is installed - programs, libraries or directories.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10976 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-01-25 16:32:25 +00:00

153 lines
4.0 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 json-c-download-http "http://oss.metaparadigm.com/json-c/json-c-&json-c-version;.tar.gz">
<!ENTITY json-c-download-ftp " ">
<!ENTITY json-c-md5sum "3a13d264528dcbaf3931b0cede24abae">
<!ENTITY json-c-size "336 KB">
<!ENTITY json-c-buildsize "3.0 MB">
<!ENTITY json-c-time "less than 0.1 SBU">
]>
<sect1 id="json-c" xreflabel="JSON-C-&json-c-version;">
<?dbhtml filename="json-c.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>JSON-C-&json-c-version;</title>
<indexterm zone="json-c">
<primary sortas="a-JSON-C">JSON-C</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to JSON-C</title>
<para>
The <application>JSON-C</application> implements a reference counting
object model that allows you to easily construct JSON objects in C,
output them as JSON formatted strings and parse JSON formatted strings
back into the C representation of JSON objects.
</para>
&lfs72_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&json-c-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&json-c-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &json-c-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &json-c-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &json-c-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &json-c-time;
</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/json-c"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of JSON-C</title>
<para>
Install <application>JSON-C</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &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 Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libjson.so
</seg>
<seg>
/usr/include/json
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libjson">
<term><filename class="libraryfile">libjson.so</filename></term>
<listitem>
<para>
contains <application>JSON-C</application> API functions.
</para>
<indexterm zone="json-c libjson">
<primary sortas="c-libjson">libjson.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>