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-05-19 06:01:03 +03:00
if [ ! -f libwebp-0.4.3.tar.gz ]; then
wget 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.3.tar.gz'
2014-03-27 00:22:37 +04:00
fi
2015-05-19 06:01:03 +03:00
rm -r libwebp-0.4.3
tar -xvzf libwebp-0.4.3.tar.gz
2014-03-27 00:22:37 +04:00
2015-05-19 06:01:03 +03:00
pushd libwebp-0.4.3
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