Update WebP from 0.4.0 to 0.4.1

This commit is contained in:
hugovk 2014-08-21 13:46:58 +03:00
parent 5d9107ee4c
commit 70cf8c9431

View File

@ -1,18 +1,15 @@
#!/bin/bash
# install webp
if [ ! -f libwebp-0.4.0.tar.gz ]; then
wget 'https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz'
if [ ! -f libwebp-0.4.1.tar.gz ]; then
wget 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.1.tar.gz'
fi
rm -r libwebp-0.4.0
tar -xvzf libwebp-0.4.0.tar.gz
rm -r libwebp-0.4.1
tar -xvzf libwebp-0.4.1.tar.gz
pushd libwebp-0.4.0
pushd libwebp-0.4.1
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make && sudo make install
popd