# Exit on error:
set -e

wget http://webp.googlecode.com/files/libwebp-0.3.1.tar.gz
tar xf libwebp-0.3.1.tar.gz
cd libwebp-0.3.1

./configure \
    --prefix=/usr

make
make install

cd ..
exit 0
