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
2014-08-21 14:46:58 +04:00
if [ ! -f libwebp-0.4.1.tar.gz ]; then
wget 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.1.tar.gz'
2014-03-27 00:22:37 +04:00
fi
2014-08-21 14:46:58 +04:00
rm -r libwebp-0.4.1
tar -xvzf libwebp-0.4.1.tar.gz
2014-03-27 00:22:37 +04:00
2014-08-21 14:46:58 +04:00
pushd libwebp-0.4.1
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