aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gzip-inst.xml
blob: 1a5aba83bc1eadb29ecf73a3674b3dae767ad3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<sect2>
<title>Installation of Gzip</title>

<para>
Before Gzip is installed, the gzip patch file needs to be unpacked.
</para>

<blockquote><literallayout>
	<userinput>patch -Np1 -i ../gzip-&gzip-version;.patch
		&amp;&amp;</userinput>
	<userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
	<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
	<userinput>make install &amp;&amp;</userinput>
	<userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip 
		 $LFS/bin &amp;&amp;</userinput>
	<userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput>
</literallayout></blockquote>

</sect2>