mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
6370fa6cff
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
23 lines
596 B
Plaintext
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> s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS)
|
|
\$(LDFLAGS) -o"/ \</userinput>
|
|
<userinput> Makefile | make -f -
|
|
LDFLAGS=-static &&</userinput>
|
|
<userinput>make PREFIX=$LFS/usr install &&</userinput>
|
|
<userinput>cd $LFS/usr/bin &&</userinput>
|
|
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput>
|
|
|
|
</literallayout></blockquote>
|
|
|
|
</sect2>
|
|
|