Pillow/depends/install_imagequant.sh

15 lines
295 B
Bash
Raw Normal View History

2016-05-06 18:33:07 +03:00
#!/bin/bash
# install libimagequant
2021-12-08 11:00:50 +03:00
archive=libimagequant-2.17.0
2016-05-06 18:33:07 +03: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
pushd $archive
2016-05-06 18:33:07 +03:00
2017-01-14 11:54:14 +03:00
make shared
sudo cp libimagequant.so* /usr/lib/
sudo cp libimagequant.h /usr/include/
2016-05-06 18:33:07 +03:00
popd