aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-09 02:52:58 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-09 02:52:58 +0000
commitd7abb6865b4f4e08be3b17582ef64eb8dae1d379 (patch)
tree98f162621f5f1b320f47555e53b9ebbb5758bdd7 /chapter06/bzip2-inst.xml
parenta3b46b9a469287a79b930e491c7145374dd70da9 (diff)
Updated to the following
packages: autoconf-2.53, automake-1.6, bin86-0.16.2, bison-1.33, bzip2-1.0.2, e2fsprogs-1.27, gawk-3.1.0, gettext-0.11, less-374, lilo-22.2, linux-2.4.18, man-pages-1.48, modutils-2.4.14, reiserfsprogs-3.x.1b, shadow-4.0.2, texinfo-4.1, util-linux-2.11o git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1682 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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