[1b35ce63] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ca783379] | 7 | <!ENTITY scons-download-http "&sourceforge-dl;/scons/SCons-&scons-version;.tar.gz">
|
---|
[1b35ce63] | 8 | <!ENTITY scons-download-ftp " ">
|
---|
[bb211386] | 9 | <!ENTITY scons-md5sum "4b868f068d568b42b975d7cb357c65d6">
|
---|
[89d14d5] | 10 | <!ENTITY scons-size "3.0 MB">
|
---|
[bb211386] | 11 | <!ENTITY scons-buildsize "52 MB">
|
---|
[b12939e] | 12 | <!ENTITY scons-time "less than 0.1 SBU">
|
---|
[1b35ce63] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="scons" xreflabel="SCons-&scons-version;">
|
---|
| 16 | <?dbhtml filename="scons.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>SCons-&scons-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="scons">
|
---|
| 22 | <primary sortas="a-SCons">SCons</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to SCons</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>SCons</application> is a tool for building software
|
---|
| 30 | (and other files) implemented in <application>Python</application>.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[15445ab] | 33 | &lfs113_checked;
|
---|
[1b35ce63] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&scons-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&scons-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &scons-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &scons-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &scons-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &scons-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">SCons Dependencies</bridgehead>
|
---|
| 70 |
|
---|
[3e9add2] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="optional">
|
---|
[0dccf0ff] | 73 | <xref linkend="docbook-xsl"/> and
|
---|
[440647ab] | 74 | <xref role="runtime" linkend="libxslt"/>
|
---|
[3e9add2] | 75 | </para>
|
---|
| 76 |
|
---|
[1b35ce63] | 77 | <para condition="html" role="usernotes">
|
---|
| 78 | User Notes: <ulink url="&blfs-wiki;/scons"/>
|
---|
| 79 | </para>
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of SCons</title>
|
---|
| 84 |
|
---|
| 85 | <para>
|
---|
| 86 | Install <application>SCons</application> by running the following
|
---|
| 87 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
[32f5b6f] | 90 | <screen role="root"><userinput>sed -i 's/env python/&3/' SCons/Utilities/*.py &&
|
---|
| 91 |
|
---|
| 92 | python3 setup.py install --prefix=/usr \
|
---|
| 93 | --optimize=1 &&
|
---|
| 94 |
|
---|
[ec288f7] | 95 | mv -v /usr/lib/python&python3-majorver;/site-packages/SCons-&scons-version;-py&python3-majorver;.egg/*.1 \
|
---|
[89d14d5] | 96 | /usr/share/man/man1</userinput></screen>
|
---|
[1b35ce63] | 97 |
|
---|
| 98 | </sect2>
|
---|
[7b88d5a] | 99 |
|
---|
[1b35ce63] | 100 | <sect2 role="content">
|
---|
| 101 | <title>Contents</title>
|
---|
| 102 |
|
---|
| 103 | <segmentedlist>
|
---|
| 104 | <segtitle>Installed Programs</segtitle>
|
---|
| 105 | <segtitle>Installed Libraries</segtitle>
|
---|
| 106 | <segtitle>Installed Directory</segtitle>
|
---|
| 107 |
|
---|
| 108 | <seglistitem>
|
---|
| 109 | <seg>
|
---|
[23aee7e] | 110 | scons, scons-configure-cache, and sconsign
|
---|
[1b35ce63] | 111 | </seg>
|
---|
| 112 | <seg>
|
---|
| 113 | None
|
---|
| 114 | </seg>
|
---|
| 115 | <seg>
|
---|
[440647ab] | 116 | /usr/lib/python&python3-majorver;/site-packages/SCons
|
---|
[1b35ce63] | 117 | </seg>
|
---|
| 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
| 120 |
|
---|
| 121 | <variablelist>
|
---|
| 122 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 123 | <?dbfo list-presentation="list"?>
|
---|
| 124 | <?dbhtml list-presentation="table"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="scons-prog">
|
---|
| 127 | <term><command>scons</command></term>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>
|
---|
[4c24eb0a] | 130 | is a software construction tool
|
---|
[1b35ce63] | 131 | </para>
|
---|
| 132 | <indexterm zone="scons scons-prog">
|
---|
| 133 | <primary sortas="b-scons">scons</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
[440647ab] | 138 | <varlistentry id="scons-configure-cache">
|
---|
| 139 | <term><command>scons-configure-cache</command></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>
|
---|
| 142 | shows or converts the configuration of an
|
---|
[4c24eb0a] | 143 | <application>SCons</application> cache directory
|
---|
[440647ab] | 144 | </para>
|
---|
| 145 | <indexterm zone="scons scons-configure-cache">
|
---|
| 146 | <primary sortas="b-scons-configure-cache">scons-configure-cache</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
[1b35ce63] | 151 | <varlistentry id="sconsign">
|
---|
| 152 | <term><command>sconsign</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>
|
---|
| 155 | prints <application>SCons</application>
|
---|
[4c24eb0a] | 156 | <filename>.sconsign</filename> file information
|
---|
[1b35ce63] | 157 | </para>
|
---|
| 158 | <indexterm zone="scons sconsign">
|
---|
| 159 | <primary sortas="b-sconsign">sconsign</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
[23aee7e] | 164 | <!-- Removed in 4.0.0
|
---|
[1b35ce63] | 165 | <varlistentry id="scons-time">
|
---|
| 166 | <term><command>scons-time</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
| 169 | generates and displays <application>SCons</application>
|
---|
| 170 | timing information.
|
---|
| 171 | </para>
|
---|
| 172 | <indexterm zone="scons scons-time">
|
---|
| 173 | <primary sortas="b-scons-time">scons-time</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
[23aee7e] | 176 | </varlistentry>
|
---|
| 177 | -->
|
---|
[1b35ce63] | 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|