Pillow/depends/install_openjpeg.sh
2024-02-29 08:03:47 +11:00

13 lines
271 B
Bash
Executable File

#!/bin/bash
# install openjpeg
archive=openjpeg-2.5.2
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/main/$archive.tar.gz
pushd $archive
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make -j4 && sudo make -j4 install
popd