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 | <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>
|
---|
93 |
|
---|
94 | </chapter>
|
---|
95 |
|
---|
96 | </part>
|
---|