Changed from pngquant to libimagequant

This commit is contained in:
Andrew Murray 2017-01-14 19:54:14 +11:00
parent b7a27533b1
commit c5cd32dd4a

View File

@ -1,14 +1,14 @@
#!/bin/bash
# install libimagequant
archive=pngquant-2.8.2
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 -C lib shared
sudo cp lib/libimagequant.so* /usr/lib/
sudo cp lib/libimagequant.h /usr/include/
make shared
sudo cp libimagequant.so* /usr/lib/
sudo cp libimagequant.h /usr/include/
popd