mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
0ee500d8fc
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1320 af4574ff-66df-0310-9fd7-8a98e5e911e0
24 lines
913 B
XML
24 lines
913 B
XML
<sect2>
|
|
<title>Installation of <application>UnZip</application></title>
|
|
|
|
<para>By default, <application>UnZip</application> does not support shrink
|
|
decompression. To enable it or to obtain more information, check out the
|
|
<application>UnZip</application> <acronym>FAQ</acronym> at
|
|
<ulink url="http://www.info-zip.org/pub/infozip/FAQ.html#unshrink"/>.</para>
|
|
|
|
<para>Install <application>UnZip</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../unzip-5.50-fix-Makefile.patch &&
|
|
patch -Np1 -i ../unzip-5.50-fix-libz.patch &&
|
|
patch -Np1 -i ../unzip-5.50-dont-make-noise.patch &&
|
|
patch -Np1 -i ../unzip-5.50-dotdot.patch &&
|
|
cp unix/Makefile . &&
|
|
make prefix=/usr linux &&
|
|
make prefix=/usr linux_shlibz &&
|
|
make prefix=/usr install &&
|
|
cp -a libunzip.so* /usr/lib</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|