Switch the formula to use configure.
Openjpeg can be built using configure or cmake. They don't install
identically, though. When built with cmake, one header is absent.
Switching to configure gets us the unversioned one also, i.e.
openjpeg/1.5.0/include/openjpeg-1.5/openjpeg.h
openjpeg/1.5.0/include/openjpeg.h
While only three formula currently depend_on openjpeg, they all
contain code that expects the unversioned file, i.e.
#include <openjpeg.h>
ClosesHomebrew/homebrew#11576.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Upgrades openjpeg to version 1.5.0.
Changes the lcms dep to lcms2, which it prefers.
Organizes the cmake command with the sourcedir last.
Builds on Lion and Snow Leopard with all five compilers.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
head didn't work properly with libpng/libtiff for me as of openjpeg r767
version 1.4 (latest version) seems to work properly
Signed-off-by: Adam Vandenberg <flangy@gmail.com>