Pillow/depends/install_webp.sh

16 lines
334 B
Bash
Raw Normal View History

2014-03-27 00:22:37 +04:00
#!/bin/bash
# install webp
2015-12-25 06:46:00 +03:00
if [ ! -f libwebp-0.5.0.tar.gz ]; then
wget 'http://downloads.webmproject.org/releases/webp/libwebp-0.5.0.tar.gz'
2014-03-27 00:22:37 +04:00
fi
2015-12-25 06:46:00 +03:00
rm -r libwebp-0.5.0
tar -xvzf libwebp-0.5.0.tar.gz
2014-03-27 00:22:37 +04:00
2015-12-25 06:46:00 +03:00
pushd libwebp-0.5.0
2014-03-27 00:22:37 +04:00
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make -j4 && sudo make -j4 install
2014-03-27 00:22:37 +04:00
popd