2011-02-09 22:57:19 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Shark < Formula
2011-02-09 22:57:19 +00:00
homepage 'http://shark-project.sourceforge.net/'
2012-02-22 05:12:27 +00:00
url 'http://downloads.sourceforge.net/project/shark-project/Shark%20Core/Shark%202.3.4/shark-2.3.4.zip'
2012-09-03 18:33:56 +00:00
sha1 '0b1b054872fe057747ff7f50e360499bb78bebdf'
2011-02-09 22:57:19 +00:00
2012-08-20 12:52:26 +00:00
fails_with :clang do
build 421
cause " C++ is hard. " # see error output below
end
# include/FileUtil/FileUtil.h:416:3: error: call to function 'scanFrom_strict' that is neither visible in the template definition nor found by argument-dependent lookup
# scanFrom_strict(is, token, val, true);
# ^
2011-11-30 02:54:32 +00:00
depends_on 'cmake' = > :build
2011-02-09 22:57:19 +00:00
def install
2012-05-22 21:37:04 +00:00
system " cmake " , " . " , * std_cmake_args
2011-02-09 22:57:19 +00:00
system " make install "
end
end