Pillow/depends/install_imagequant.sh
2017-01-14 19:54:14 +11:00

15 lines
296 B
Bash
Executable File

#!/bin/bash
# install libimagequant
archive=libimagequant-2.8.2
./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