# Exit on error:
set -e

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

make -f unix/Makefile \
    LOCAL_ZIP="$CFLAGS" \
    prefix=/usr \
    generic

make -f unix/Makefile \
    INSTALL=install \
    prefix=/usr \
    install

cd ..
exit 0
