glfs/general/sysutils/unzip/unzip-inst.xml
Igor Živković 0ee500d8fc moved unzip and zip to their respective directories
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1320 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-05 09:16:42 +00:00

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 &amp;&amp;
patch -Np1 -i ../unzip-5.50-fix-libz.patch &amp;&amp;
patch -Np1 -i ../unzip-5.50-dont-make-noise.patch &amp;&amp;
patch -Np1 -i ../unzip-5.50-dotdot.patch &amp;&amp;
cp unix/Makefile . &amp;&amp;
make prefix=/usr linux &amp;&amp;
make prefix=/usr linux_shlibz &amp;&amp;
make prefix=/usr install &amp;&amp;
cp -a libunzip.so* /usr/lib</command></userinput></screen>
</sect2>