b8c8f394d0
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> Closes Homebrew/homebrew#11576. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
18 lines
470 B
Ruby
18 lines
470 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 'little-cms2'
|
|
depends_on 'libtiff'
|
|
|
|
def install
|
|
ENV.x11 # So it can find libpng
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|