mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
19 lines
317 B
Bash
19 lines
317 B
Bash
|
#!/bin/bash
|
||
|
# install webp
|
||
|
|
||
|
|
||
|
if [ ! -f libwebp-0.4.0.tar.gz ]; then
|
||
|
wget 'https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz'
|
||
|
fi
|
||
|
|
||
|
rm -r libwebp-0.4.0
|
||
|
tar -xvzf libwebp-0.4.0.tar.gz
|
||
|
|
||
|
|
||
|
pushd libwebp-0.4.0
|
||
|
|
||
|
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make && sudo make install
|
||
|
|
||
|
popd
|
||
|
|