2010-07-02 18:02:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Openjpeg < Formula
|
2010-07-02 18:02:12 +00:00
|
|
|
homepage 'http://www.openjpeg.org/'
|
2012-02-14 03:40:31 +00:00
|
|
|
url 'http://openjpeg.googlecode.com/files/openjpeg-1.5.0.tar.gz'
|
|
|
|
sha1 'dce705ae45f137e4698a8cf39d1fbf22bc434fa8'
|
2011-05-04 04:27:00 +00:00
|
|
|
|
|
|
|
head 'http://openjpeg.googlecode.com/svn/trunk/'
|
2010-07-02 18:02:12 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2012-02-14 03:40:31 +00:00
|
|
|
depends_on 'little-cms2'
|
2010-07-02 18:02:12 +00:00
|
|
|
depends_on 'libtiff'
|
|
|
|
|
|
|
|
def install
|
2012-02-14 03:40:31 +00:00
|
|
|
system "cmake #{std_cmake_parameters} ."
|
2010-07-02 18:02:12 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|