Changeset 16f3afb3


Ignore:
Timestamp:
05/05/2005 08:20:01 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
5cc1126
Parents:
42a04581
Message:

Tagged ruby.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3990 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/ruby.xml

    r42a04581 r16f3afb3  
    55  %general-entities;
    66
    7 <!ENTITY ruby-download-http " ">
    8 <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/ruby-&ruby-version;.tar.gz">
    9 <!ENTITY ruby-md5sum "8ffc79d96f336b80f2690a17601dea9b">
    10 <!ENTITY ruby-size "3.5 MB">
    11 <!ENTITY ruby-buildsize "55.2 MB">
    12 <!ENTITY ruby-time "0.93 SBU">
     7  <!ENTITY ruby-download-http " ">
     8  <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/ruby-&ruby-version;.tar.gz">
     9  <!ENTITY ruby-md5sum "8ffc79d96f336b80f2690a17601dea9b">
     10  <!ENTITY ruby-size "3.5 MB">
     11  <!ENTITY ruby-buildsize "55.2 MB">
     12  <!ENTITY ruby-time "0.93 SBU">
    1313]>
    1414
    1515<sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
    16 <sect1info>
    17 <othername>$LastChangedBy$</othername>
    18 <date>$Date$</date>
    19 </sect1info>
    20 <?dbhtml filename="ruby.html"?>
    21 <title>Ruby-&ruby-version;</title>
    22 <indexterm zone="ruby">
    23 <primary sortas="a-Ruby">Ruby</primary></indexterm>
     16  <?dbhtml filename="ruby.html"?>
    2417
    25 <sect2>
    26 <title>Introduction to <application>Ruby</application></title>
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
    2722
    28 <para>The <application>Ruby</application> package contains the
    29 <application>Ruby</application> development environment. This
    30 is useful for object-oriented scripting.</para>
     23  <title>Ruby-&ruby-version;</title>
    3124
    32 <sect3><title>Package information</title>
    33 <itemizedlist spacing='compact'>
    34 <listitem><para>Download (HTTP):
    35 <ulink url="&ruby-download-http;"/></para></listitem>
    36 <listitem><para>Download (FTP):
    37 <ulink url="&ruby-download-ftp;"/></para></listitem>
    38 <listitem><para>Download MD5 sum: &ruby-md5sum;</para></listitem>
    39 <listitem><para>Download size: &ruby-size;</para></listitem>
    40 <listitem><para>Estimated disk space required:
    41 &ruby-buildsize;</para></listitem>
    42 <listitem><para>Estimated build time:
    43 &ruby-time;</para></listitem></itemizedlist>
    44 </sect3>
     25  <indexterm zone="ruby">
     26    <primary sortas="a-Ruby">Ruby</primary>
     27  </indexterm>
    4528
    46 <sect3><title><application>Ruby</application> dependencies</title>
    47 <sect4><title>Optional</title>
    48 <para><xref linkend="openssl"/>,
    49 <xref linkend="tk"/>,
    50 <xref linkend="db"/>,
    51 <xref linkend="gdbm"/></para>
    52 </sect4>
    53 </sect3>
     29  <sect2 role="package">
     30    <title>Introduction to Ruby</title>
    5431
    55 </sect2>
     32    <para>The <application>Ruby</application> package contains the
     33    <application>Ruby</application> development environment. This
     34    is useful for object-oriented scripting.</para>
    5635
    57 <sect2>
    58 <title>Installation of <application>Ruby</application></title>
     36    <bridgehead renderas="sect3">Package Information</bridgehead>
     37    <itemizedlist spacing="compact">
     38      <listitem>
     39        <para>Download (HTTP): <ulink url="&ruby-download-http;"/></para>
     40      </listitem>
     41      <listitem>
     42        <para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para>
     43      </listitem>
     44      <listitem>
     45        <para>Download MD5 sum: &ruby-md5sum;</para>
     46      </listitem>
     47      <listitem>
     48        <para>Download size: &ruby-size;</para>
     49      </listitem>
     50      <listitem>
     51        <para>Estimated disk space required: &ruby-buildsize;</para>
     52      </listitem>
     53      <listitem>
     54        <para>Estimated build time: &ruby-time;</para>
     55      </listitem>
     56    </itemizedlist>
    5957
    60 <para>Install <application>Ruby</application> by running the following
    61 commands:</para>
     58    <bridgehead renderas="sect3">Ruby Dependencies</bridgehead>
    6259
    63 <screen><userinput><command>./configure --prefix=/usr --enable-shared \
     60    <bridgehead renderas="sect4">Optional</bridgehead>
     61    <para><xref linkend="openssl"/>,
     62    <xref linkend="tk"/>,
     63    <xref linkend="db"/>,
     64    <xref linkend="gdbm"/></para>
     65
     66  </sect2>
     67
     68  <sect2 role="installation">
     69    <title>Installation of Ruby</title>
     70
     71    <para>Install <application>Ruby</application> by running the following
     72    commands:</para>
     73
     74<screen><userinput>./configure --prefix=/usr --enable-shared \
    6475--enable-pthread --enable-install-doc &amp;&amp;
    65 make</command></userinput></screen>
     76make</userinput></screen>
    6677
    67 <para>Now, as the root user:</para>
     78    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    6879
    69 <screen><userinput role='root'><command>make install</command></userinput></screen>
     80<screen role="root"><userinput>make install</userinput></screen>
    7081
    71 </sect2>
     82  </sect2>
    7283
    73 <sect2>
    74 <title>Command explanations</title>
     84  <sect2 role="commands">
     85    <title>Command Explanations</title>
    7586
    76 <para><parameter>--enable-shared</parameter>: This parameter builds the
    77 <filename class='libraryfile'>libruby</filename> shared library.</para>
     87    <para><parameter>--enable-shared</parameter>: This parameter builds the
     88    <filename class='libraryfile'>libruby</filename> shared library.</para>
    7889
    79 <para><parameter>--enable-pthread</parameter>: This parameter links the
    80 threading library into the <application>Ruby</application> build.</para>
     90    <para><parameter>--enable-pthread</parameter>: This parameter links the
     91    threading library into the <application>Ruby</application> build.</para>
    8192
    82 </sect2>
     93  </sect2>
    8394
    84 <sect2>
    85 <title>Contents</title>
     95  <sect2 role="content">
     96    <title>Contents</title>
    8697
    87 <segmentedlist>
    88 <segtitle>Installed Programs</segtitle>
    89 <segtitle>Installed Libraries</segtitle>
    90 <segtitle>Installed Directories</segtitle>
    91 <seglistitem>
    92 <seg>ruby, irb, erb, rdoc, ri and testrb</seg>
    93 <seg>libruby.so and numerous modules located in the
    94 <filename class='directory'>/usr/lib/ruby</filename> hierarchy.</seg>
    95 <seg>/usr/lib/ruby and /usr/share/ri</seg></seglistitem>
    96 </segmentedlist>
     98    <segmentedlist>
     99      <segtitle>Installed Programs</segtitle>
     100      <segtitle>Installed Libraries</segtitle>
     101      <segtitle>Installed Directories</segtitle>
    97102
    98 <variablelist>
    99 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    100 <?dbfo list-presentation="list"?>
     103      <seglistitem>
     104        <seg>ruby, irb, erb, rdoc, ri, and testrb</seg>
     105        <seg>libruby.so and numerous modules located in the
     106        <filename class='directory'>/usr/lib/ruby</filename> hierarchy.</seg>
     107        <seg>/usr/lib/ruby and /usr/share/ri</seg>
     108      </seglistitem>
     109    </segmentedlist>
    101110
    102 <varlistentry id="ruby-prog">
    103 <term><command>ruby</command></term>
    104 <listitem><para>is an interpreted scripting language for quick
    105 and easy object-oriented programming.</para>
    106 <indexterm zone="ruby ruby-prog">
    107 <primary sortas="b-ruby">ruby</primary></indexterm>
    108 </listitem>
    109 </varlistentry>
     111    <variablelist>
     112      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     113      <?dbfo list-presentation="list"?>
     114      <?dbhtml list-presentation="table"?>
    110115
    111 <varlistentry id="irb">
    112 <term><command>irb</command></term>
    113 <listitem><para>is the interactive interface for
    114 <application>Ruby</application>.</para>
    115 <indexterm zone="ruby irb">
    116 <primary sortas="b-irb">irb</primary></indexterm>
    117 </listitem>
    118 </varlistentry>
     116      <varlistentry id="ruby-prog">
     117        <term><command>ruby</command></term>
     118        <listitem>
     119          <para>is an interpreted scripting language for quick
     120          and easy object-oriented programming.</para>
     121          <indexterm zone="ruby ruby-prog">
     122            <primary sortas="b-ruby">ruby</primary>
     123          </indexterm>
     124        </listitem>
     125      </varlistentry>
    119126
    120 <varlistentry id="erb">
    121 <term><command>erb</command></term>
    122 <listitem><para>is Tiny eRuby. It interprets a
    123 <application>Ruby</application> code embedded text file.</para>
    124 <indexterm zone="ruby erb">
    125 <primary sortas="b-erb">erb</primary></indexterm>
    126 </listitem>
    127 </varlistentry>
     127      <varlistentry id="irb">
     128        <term><command>irb</command></term>
     129        <listitem>
     130          <para>is the interactive interface for
     131          <application>Ruby</application>.</para>
     132          <indexterm zone="ruby irb">
     133            <primary sortas="b-irb">irb</primary>
     134          </indexterm>
     135        </listitem>
     136      </varlistentry>
    128137
    129 <varlistentry id="ri">
    130 <term><command>ri</command></term>
    131 <listitem><para>displays documentation from a database on
    132 <application>Ruby</application> classes, modules and methods.</para>
    133 <indexterm zone="ruby ri">
    134 <primary sortas="b-ri">ri</primary></indexterm>
    135 </listitem>
    136 </varlistentry>
     138      <varlistentry id="erb">
     139        <term><command>erb</command></term>
     140        <listitem>
     141          <para>is Tiny eRuby. It interprets a
     142          <application>Ruby</application> code embedded text file.</para>
     143          <indexterm zone="ruby erb">
     144            <primary sortas="b-erb">erb</primary>
     145          </indexterm>
     146        </listitem>
     147      </varlistentry>
    137148
    138 <varlistentry id="libruby">
    139 <term><filename role="library">libruby.so</filename></term>
    140 <listitem><para>contains the <acronym>API</acronym> functions required
    141 by <application>Ruby</application>.</para>
    142 <indexterm zone="ruby libruby">
    143 <primary sortas="c-libruby">libruby.so</primary></indexterm>
    144 </listitem>
    145 </varlistentry>
    146 </variablelist>
     149      <varlistentry id="ri">
     150        <term><command>ri</command></term>
     151        <listitem>
     152          <para>displays documentation from a database on
     153          <application>Ruby</application> classes, modules and methods.</para>
     154          <indexterm zone="ruby ri">
     155            <primary sortas="b-ri">ri</primary>
     156          </indexterm>
     157        </listitem>
     158      </varlistentry>
    147159
    148 </sect2>
     160      <varlistentry id="libruby">
     161        <term><filename role="library">libruby.so</filename></term>
     162        <listitem>
     163          <para>contains the <acronym>API</acronym> functions required
     164          by <application>Ruby</application>.</para>
     165          <indexterm zone="ruby libruby">
     166            <primary sortas="c-libruby">libruby.so</primary>
     167          </indexterm>
     168        </listitem>
     169      </varlistentry>
     170
     171    </variablelist>
     172
     173  </sect2>
    149174
    150175</sect1>
Note: See TracChangeset for help on using the changeset viewer.