glfs/general/prog/scons.xml
Bruce Dubbs 5a31ace6cc Update to docutils-0.15 (Python Modules).
Update to Mako-1.0.14 (Python Module). 
Update to scons-3.1.0. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21849 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-07-21 19:20:29 +00:00

184 lines
5.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 scons-download-http "&sourceforge-dl;/scons/scons-&scons-version;.tar.gz">
<!ENTITY scons-download-ftp " ">
<!ENTITY scons-md5sum "e2fe9d16f81b0285b969238af4b552ff">
<!ENTITY scons-size "648 KB">
<!ENTITY scons-buildsize "5.5 MB">
<!ENTITY scons-time "less than 0.1 SBU">
]>
<sect1 id="scons" xreflabel="SCons-&scons-version;">
<?dbhtml filename="scons.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>SCons-&scons-version;</title>
<indexterm zone="scons">
<primary sortas="a-SCons">SCons</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to SCons</title>
<para>
<application>SCons</application> is a tool for building software
(and other files) implemented in <application>Python</application>.
</para>
&lfs84_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&scons-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&scons-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &scons-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &scons-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &scons-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &scons-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">SCons Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="docbook-xsl"/>,
<xref role="runtime" linkend="libxslt"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/scons"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of SCons</title>
<para>
Install <application>SCons</application> by running the following
commands as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>sed -i 's/env python/&amp;3/' script/scons* &amp;&amp;
python3 setup.py install --prefix=/usr \
--standard-lib \
--optimize=1 \
--install-data=/usr/share &amp;&amp;
rm -v /usr/bin/scons*.bat</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
scons, scons-configure-cache, sconsign, and scons-time
</seg>
<seg>
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/SCons
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="scons-prog">
<term><command>scons</command></term>
<listitem>
<para>
is a software construction tool.
</para>
<indexterm zone="scons scons-prog">
<primary sortas="b-scons">scons</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="scons-configure-cache">
<term><command>scons-configure-cache</command></term>
<listitem>
<para>
shows or converts the configuration of an
<application>SCons</application> cache directory.
</para>
<indexterm zone="scons scons-configure-cache">
<primary sortas="b-scons-configure-cache">scons-configure-cache</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="sconsign">
<term><command>sconsign</command></term>
<listitem>
<para>
prints <application>SCons</application>
<filename>.sconsign</filename> file information.
</para>
<indexterm zone="scons sconsign">
<primary sortas="b-sconsign">sconsign</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="scons-time">
<term><command>scons-time</command></term>
<listitem>
<para>
generates and displays <application>SCons</application>
timing information.
</para>
<indexterm zone="scons scons-time">
<primary sortas="b-scons-time">scons-time</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>