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