glfs/shareddeps/security/duktape.xml
2024-10-19 15:42:14 -06:00

112 lines
2.8 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 " ">
]>
<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. -->
<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>
</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>