# Exit on error:
set -e

wget http://downloads.sourceforge.net/sourceforge/infozip/unzip60.tar.gz
tar xf unzip60.tar.gz
cd unzip60

make -f unix/Makefile \
    LOCAL_UNZIP="$CFLAGS" \
    prefix= \
    linux_noasm

make -f unix/Makefile \
    prefix= \
    install

cd ..
rm -rf unzip60
rm unzip60.tar.gz

exit 0
