glfs/general/genlib/duktape.xml
2024-01-19 22:39:35 +01:00

136 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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 duktape-download-http "https://duktape.org/duktape-&duktape-version;.tar.xz">
<!ENTITY duktape-download-ftp " ">
<!ENTITY duktape-md5sum "b3200b02ab80125b694bae887d7c1ca6">
<!ENTITY duktape-size "1003 KB">
<!ENTITY duktape-buildsize "25 MB">
<!ENTITY duktape-time "0.3 SBU">
]>
<sect1 id="duktape" xreflabel="duktape-&duktape-version;">
<?dbhtml filename="duktape.html"?>
<title>duktape-&duktape-version;</title>
<indexterm zone="duktape">
<primary sortas="a-duktape">duktape</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to duktape</title>
<para>
<application>duktape</application> is an embeddable Javascript
engine, with a focus on portability and compact footprint.
</para>
<!-- To editors: make sure polkit works with duktape before
tagging duktape. -->
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&duktape-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&duktape-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &duktape-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &duktape-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &duktape-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &duktape-time;
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of duktape</title>
<para>
Install <application>duktape</application> by running the
following commands:
</para>
<screen><userinput>sed -i 's/-Os/-O2/' Makefile.sharedlibrary
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr install</userinput></screen>
</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>
libduktape.so and libduktaped.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libduktape.so">
<term><filename class="libraryfile">libduktape.so</filename></term>
<listitem>
<para>
is an embeddable Javascript engine
</para>
<indexterm zone="duktape">
<primary sortas="c-duktape">libduktape.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>