aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/shark.rb
blob: 0cd50ce5b1aba3e0626fc2aa8d9fd3030f71651b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Shark < Formula
  homepage 'http://shark-project.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/shark-project/Shark%20Core/Shark%202.3.4/shark-2.3.4.zip'
  md5 '12d87a519c27b33800df11b7c78972ed'

  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);
  #                  ^

  depends_on 'cmake' => :build

  def install
    system "cmake", ".", *std_cmake_args
    system "make install"
  end
end