Pillow/depends/install_imagequant.sh

13 lines
215 B
Bash
Executable File

#!/bin/bash
# install libimagequant
git clone -b 2.6.0 https://github.com/pornel/pngquant
pushd pngquant
make -C lib shared
sudo cp lib/libimagequant.so* /usr/lib/
sudo cp lib/libimagequant.h /usr/include/
popd