Pillow/depends/install_webp.sh

13 lines
298 B
Bash
Raw Normal View History

2014-03-27 00:22:37 +04:00
#!/bin/bash
# install webp
2023-09-14 08:32:33 +03:00
archive=libwebp-1.3.2
2014-03-27 00:22:37 +04:00
2021-10-15 17:30:05 +03:00
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/main/$archive.tar.gz
2014-03-27 00:22:37 +04:00
pushd $archive
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