Update WebP from 0.4.1 to 0.4.3

This commit is contained in:
Andrew Murray 2015-05-19 13:01:03 +10:00
parent 8ae24eca93
commit 74803dfd73

View File

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