a532628566
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>
18 lines
429 B
Ruby
18 lines
429 B
Ruby
require 'formula'
|
|
|
|
class Openjpeg < Formula
|
|
homepage 'http://www.openjpeg.org/'
|
|
url 'http://openjpeg.googlecode.com/files/openjpeg-1.5.0.tar.gz'
|
|
sha1 'dce705ae45f137e4698a8cf39d1fbf22bc434fa8'
|
|
|
|
head 'http://openjpeg.googlecode.com/svn/trunk/'
|
|
|
|
depends_on 'cmake' => :build
|
|
depends_on 'little-cms2'
|
|
depends_on 'libtiff'
|
|
|
|
def install
|
|
system "cmake #{std_cmake_parameters} ."
|
|
system "make install"
|
|
end
|
|
end
|