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