Pillow/depends/install_imagequant.sh
2016-12-30 10:33:56 +11:00

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