[4fe47e3] | 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 |
|
---|
[5c560cb] | 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>
|
---|
[4fe47e3] | 27 |
|
---|
[5c560cb] | 28 | <c:install>
|
---|
[4fe47e3] | 29 |
|
---|
[5c560cb] | 30 | <c:para>Apply this patch</c:para>
|
---|
[5508d22] | 31 |
|
---|
[5c560cb] | 32 | <c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command>
|
---|
[4fe47e3] | 33 |
|
---|
[5c560cb] | 34 | <c:para>Prepare the package for compilation</c:para>
|
---|
[4fe47e3] | 35 |
|
---|
[5c560cb] | 36 | <c:command>./configure -prefix=/usr -bindir=/bin \
|
---|
| 37 | -without-bash-malloc -with-installed-readline</c:command>
|
---|
[4fe47e3] | 38 |
|
---|
[5c560cb] | 39 | <c:para>Compile the package:</c:para>
|
---|
[d17cfb8] | 40 |
|
---|
[5c560cb] | 41 | <c:command>make</c:command>
|
---|
[4fe47e3] | 42 |
|
---|
[5c560cb] | 43 | <c:para>To test the results, issue:
|
---|
| 44 | <c:command>make tests</c:command>.</c:para>
|
---|
[4fe47e3] | 45 |
|
---|
[5c560cb] | 46 | <c:para>Install the package:</c:para>
|
---|
[5f27dfa] | 47 |
|
---|
[5c560cb] | 48 | <c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>
|
---|
[4fe47e3] | 49 |
|
---|
[5c560cb] | 50 | <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
|
---|
| 51 | the one that is currently being executed):</c:para>
|
---|
[4fe47e3] | 52 |
|
---|
[5c560cb] | 53 | <c:command c:nodump="true">exec /bin/bash -login +h</c:command>
|
---|
[4fe47e3] | 54 |
|
---|
[5c560cb] | 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>
|
---|
[4fe47e3] | 60 |
|
---|
[5c560cb] | 61 | </c:install>
|
---|
[4fe47e3] | 62 |
|
---|
[5c560cb] | 63 | </c:package>
|
---|
| 64 |
|
---|
| 65 | <c:package id="ch-system-test" c:multibuild="true">
|
---|
| 66 | <c:title>TestPackage</c:title>
|
---|
| 67 | <c:version>1.2.3</c:version>
|
---|
| 68 | <c:description>The <c:strong>Test</c:strong> package contains a test.</c:description>
|
---|
| 69 |
|
---|
| 70 | <c:install>
|
---|
| 71 |
|
---|
| 72 | <c:para>Prepare the package for compilation</c:para>
|
---|
| 73 |
|
---|
| 74 | <c:command c:multilib="false">./configure --prefix=/usr</c:command>
|
---|
| 75 | <c:command c:multilib="true" c:bits="32">CC="gcc ${BUILD32}" ./configure --prefix=/usr</c:command>
|
---|
| 76 | <c:command c:multilib="true" c:bits="n32">CC="gcc ${BUILDN32}" ./configure --prefix=/usr</c:command>
|
---|
| 77 | <c:command c:multilib="true" c:bits="64">CC="gcc ${BUILD64}" ./configure --prefix=/usr</c:command>
|
---|
| 78 |
|
---|
| 79 | <c:para>Compile the package:</c:para>
|
---|
| 80 |
|
---|
| 81 | <c:command>make</c:command>
|
---|
| 82 |
|
---|
| 83 | <c:para>To test the results, issue:
|
---|
| 84 | <c:command>make tests</c:command>.</c:para>
|
---|
| 85 |
|
---|
| 86 | <c:para>Install the package:</c:para>
|
---|
| 87 |
|
---|
| 88 | <c:command>make install</c:command>
|
---|
| 89 |
|
---|
| 90 | </c:install>
|
---|
| 91 |
|
---|
| 92 | </c:package>
|
---|
[4fe47e3] | 93 |
|
---|
| 94 | </chapter>
|
---|
| 95 |
|
---|
| 96 | </part>
|
---|