aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bzip2-inst.xml')
-rw-r--r--chapter06/bzip2-inst.xml22
1 files changed, 9 insertions, 13 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 905e4eb53..c24d79ea3 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -3,25 +3,21 @@
<para>Install Bzip2 by running the following commands:</para>
-<para><screen><userinput>make -f Makefile-libbz2_so &amp;&amp;
-make bzip2recover libbz2.a &amp;&amp;
-ln -s libbz2.so.1.0.1 libbz2.so &amp;&amp;
+<para><screen><userinput>make &amp;&amp;
+make -f Makefile-libbz2_so &amp;&amp;
+make PREFIX=/usr install &amp;&amp;
cp bzip2-shared /bin/bzip2 &amp;&amp;
-cp bzip2recover /bin &amp;&amp;
-cp bzip2.1 /usr/share/man/man1 &amp;&amp;
-cp bzlib.h /usr/include &amp;&amp;
+ln -s libbz2.so.1.0 libbz2.so &amp;&amp;
cp -a libbz2.so* /lib &amp;&amp;
-rm /usr/lib/libbz2.a &amp;&amp;
-cp libbz2.a /usr/lib &amp;&amp;
cd /usr/lib &amp;&amp;
ln -sf ../../lib/libbz2.so &amp;&amp;
+cd /usr/bin &amp;&amp;
+rm bunzip2 bzcat bzip2 &amp;&amp;
+mv bzip2recover bzless bzmore /bin &amp;&amp;
cd /bin &amp;&amp;
ln -sf bzip2 bunzip2 &amp;&amp;
-ln -sf bzip2 bzcat &amp;&amp;
-cd /usr/share/man/man1 &amp;&amp;
-ln -sf bzip2.1 bunzip2.1 &amp;&amp;
-ln -sf bzip2.1 bzcat.1 &amp;&amp;
-ln -sf bzip2.1 bzip2recover.1</userinput></screen></para>
+ln -sf bzip2 bzcat</userinput></screen></para>
+
<para>Although it's not strictly a part of a basic LFS system it's worth
mentioning that a patch for Tar can be downloaded which enables the tar