lfs/chapter05/bzip2-static-inst.sgml
Gerard Beekmans 6370fa6cff Initial commit - LFS 2.4.4 files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-01-24 00:31:17 +00:00

23 lines
596 B
Plaintext

<sect2>
<title>Installation of Bzip2</title>
<para>
Install Bzip2 by running the following commands:
</para>
<blockquote><literallayout>
<userinput>sed \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS)
\$(LDFLAGS) -o"/ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;Makefile | make -f -
LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make PREFIX=$LFS/usr install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput>
</literallayout></blockquote>
</sect2>