glfs/general/prog/scons.xml
2024-03-19 13:54:28 -05:00

188 lines
5.1 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 scons-download-http "&sourceforge-dl;/scons/SCons-&scons-version;.tar.gz">
<!ENTITY scons-download-ftp " ">
<!ENTITY scons-md5sum "f931948234687b507e2c8ae6ec18fb1c">
<!ENTITY scons-size "3.1 MB">
<!ENTITY scons-buildsize "50 MB">
<!ENTITY scons-time "less than 0.1 SBU">
]>
<sect1 id="scons" xreflabel="SCons-&scons-version;">
<?dbhtml filename="scons.html"?>
<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>
&lfs121_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"/> and
<xref role="runtime" linkend="libxslt"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of SCons</title>
<!-- Commented out because I don't think it's still needed. If
something bad happens please uncomment.
<screen><userinput>sed -i 's/env python/&amp;3/' SCons/Utilities/*.py &amp;&amp;</userinput></screen> -->
<para>
Fix the install location of the man pages:
</para>
<screen><userinput>sed -i '/scons.1/s@^.@share/man/man1@' -i setup.cfg</userinput></screen>
<para>
Build the package:
</para>
&build-wheel;
<para>
As the &root; user, install the package:
</para>
<screen role='root'><userinput>&install-wheel; SCons</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, and sconsign
</seg>
<seg>
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/SCons{,-&scons-version;.dist-info}
</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>
<!-- Removed in 4.0.0
<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>