homebrew-core/Formula/openjpeg.rb
Michael Lapinsky 8390eecf3b openjpeg: stable url & little-cms as an optional dependency
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>
2011-05-24 13:10:58 -07:00

19 lines
457 B
Ruby

require 'formula'
class Openjpeg < Formula
homepage 'http://www.openjpeg.org/'
url 'http://openjpeg.googlecode.com/files/openjpeg_v1_4_sources_r697.tgz'
version '1.4'
md5 '7870bb84e810dec63fcf3b712ebb93db'
head 'http://openjpeg.googlecode.com/svn/trunk/'
depends_on 'cmake' => :build
depends_on 'little-cms' => :optional
depends_on 'libtiff'
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end