Pillow/depends/install_openjpeg.sh

20 lines
322 B
Bash
Raw Normal View History

2014-03-27 00:22:37 +04:00
#!/bin/bash
# install openjpeg
if [ ! -f openjpeg-2.1.0.tar.gz ]; then
wget 'http://iweb.dl.sourceforge.net/project/openjpeg.mirror/2.1.0/openjpeg-2.1.0.tar.gz'
2014-03-27 00:22:37 +04:00
fi
rm -r openjpeg-2.1.0
tar -xvzf openjpeg-2.1.0.tar.gz
2014-03-27 00:22:37 +04:00
pushd openjpeg-2.1.0
2014-03-27 00:22:37 +04:00
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install
popd