Pillow/depends/install_imagequant.sh

15 lines
306 B
Bash
Raw Normal View History

2016-05-06 18:33:07 +03:00
#!/bin/bash
# install libimagequant
2016-12-30 02:33:56 +03:00
archive=pngquant-2.8.2
2016-05-06 18:33:07 +03:00
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz
pushd $archive
2016-05-06 18:33:07 +03:00
make -C lib shared
sudo cp lib/libimagequant.so* /usr/lib/
sudo cp lib/libimagequant.h /usr/include/
popd