mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
15 lines
306 B
Bash
Executable File
15 lines
306 B
Bash
Executable File
#!/bin/bash
|
|
# install libimagequant
|
|
|
|
archive=pngquant-2.8.2
|
|
|
|
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz
|
|
|
|
pushd $archive
|
|
|
|
make -C lib shared
|
|
sudo cp lib/libimagequant.so* /usr/lib/
|
|
sudo cp lib/libimagequant.h /usr/include/
|
|
|
|
popd
|