summaryrefslogtreecommitdiff
path: root/brew/openEMS.rb
blob: 6ab3ebea1467581ab07a2c0d81d0edb8a76adf1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require "formula"

class Openems < Formula
  homepage "http://openems.de"

  head do
    url "https://github.com/thliebig/openEMS-Project.git"
  end

  depends_on "cmake" => :build
  depends_on "flex"
  depends_on "bison"
  depends_on "qt"
  depends_on "tinyxml"
  depends_on "vtk" => ["with-qt", "c++11"]
  depends_on "cgal" => "c++11"
  depends_on "boost" => "c++11"

  def install
    system "cmake", ".", *std_cmake_args
    system "make" 
    # install is handled by ExternalProject_Add
  end

end