| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
|---|
| 2 | <!DOCTYPE part 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 | ]>
|
|---|
| 7 |
|
|---|
| 8 | <part id="part0" xmlns:c="http://schema.cross-lfs.org/book">
|
|---|
| 9 | <?dbhtml filename="part0.html"?>
|
|---|
| 10 | <title>Test Part</title>
|
|---|
| 11 |
|
|---|
| 12 | <chapter>
|
|---|
| 13 | <?dbhtml dir="chapter0"?>
|
|---|
| 14 | <?dbhtml filename="chapter0.html"?>
|
|---|
| 15 | <title>Chapter 0</title>
|
|---|
| 16 |
|
|---|
| 17 | <sect1>
|
|---|
| 18 | <?dbhtml filename="sect0.html"?>
|
|---|
| 19 | <title>Sect 0</title>
|
|---|
| 20 | <para>Testing... 1.. 2.. 3..</para>
|
|---|
| 21 | </sect1>
|
|---|
| 22 |
|
|---|
| 23 | <c:package id="ch-system-bash" c:multibuild="false">
|
|---|
| 24 | <c:title>Bash</c:title>
|
|---|
| 25 | <c:version>4.0.1</c:version>
|
|---|
| 26 | <c:description>The Bash package contains the Bourne-Again SHell.</c:description>
|
|---|
| 27 |
|
|---|
| 28 | <c:install>
|
|---|
| 29 |
|
|---|
| 30 | <c:para>Apply this patch</c:para>
|
|---|
| 31 |
|
|---|
| 32 | <c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command>
|
|---|
| 33 |
|
|---|
| 34 | <c:para>Prepare the package for compilation</c:para>
|
|---|
| 35 |
|
|---|
| 36 | <c:command>./configure -prefix=/usr -bindir=/bin \
|
|---|
| 37 | -without-bash-malloc -with-installed-readline</c:command>
|
|---|
| 38 |
|
|---|
| 39 | <c:para>Compile the package:</c:para>
|
|---|
| 40 |
|
|---|
| 41 | <c:command>make</c:command>
|
|---|
| 42 |
|
|---|
| 43 | <c:para>To test the results, issue:
|
|---|
| 44 | <c:command>make tests</c:command>.</c:para>
|
|---|
| 45 |
|
|---|
| 46 | <c:para>Install the package:</c:para>
|
|---|
| 47 |
|
|---|
| 48 | <c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>
|
|---|
| 49 |
|
|---|
| 50 | <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
|
|---|
| 51 | the one that is currently being executed):</c:para>
|
|---|
| 52 |
|
|---|
| 53 | <c:command c:nodump="true">exec /bin/bash -login +h</c:command>
|
|---|
| 54 |
|
|---|
| 55 | <c:note>
|
|---|
| 56 | <c:para>(note+warn) The parameters used make the <c:command>bash</c:command>
|
|---|
| 57 | process an interactive login shell and continue to disable hashing so
|
|---|
| 58 | that new programs are found as they become available.</c:para>
|
|---|
| 59 | </c:note>
|
|---|
| 60 |
|
|---|
| 61 | </c:install>
|
|---|
| 62 |
|
|---|
| 63 | </c:package>
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 | <c:package id="ch-system-test" c:multibuild="true">
|
|---|
| 67 | <c:title>TestPackage</c:title>
|
|---|
| 68 | <c:version>1.2.3</c:version>
|
|---|
| 69 | <c:description>The <c:strong>Test</c:strong> package contains a test.</c:description>
|
|---|
| 70 |
|
|---|
| 71 | <c:install>
|
|---|
| 72 |
|
|---|
| 73 | <c:para>Prepare the package for compilation</c:para>
|
|---|
| 74 |
|
|---|
| 75 | <c:command c:multilib="false">./configure --prefix=/usr</c:command>
|
|---|
| 76 | <c:command c:multilib="true" c:bits="32">CC="gcc ${BUILD32}" ./configure --prefix=/usr</c:command>
|
|---|
| 77 | <c:command c:multilib="true" c:bits="n32">CC="gcc ${BUILDN32}" ./configure --prefix=/usr</c:command>
|
|---|
| 78 | <c:command c:multilib="true" c:bits="64">CC="gcc ${BUILD64}" ./configure --prefix=/usr</c:command>
|
|---|
| 79 |
|
|---|
| 80 | <c:para>Compile the package:</c:para>
|
|---|
| 81 |
|
|---|
| 82 | <c:command>make</c:command>
|
|---|
| 83 |
|
|---|
| 84 | <c:para>To test the results, issue:
|
|---|
| 85 | <c:command>make tests</c:command>.</c:para>
|
|---|
| 86 |
|
|---|
| 87 | <c:para>Install the package:</c:para>
|
|---|
| 88 |
|
|---|
| 89 | <c:command>make install</c:command>
|
|---|
| 90 |
|
|---|
| 91 | </c:install>
|
|---|
| 92 |
|
|---|
| 93 | </c:package>
|
|---|
| 94 |
|
|---|
| 95 | </chapter>
|
|---|
| 96 |
|
|---|
| 97 | </part>
|
|---|