diff options
Diffstat (limited to 'brew/openEMS.rb')
-rw-r--r-- | brew/openEMS.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/brew/openEMS.rb b/brew/openEMS.rb new file mode 100644 index 0000000..6ab3ebe --- /dev/null +++ b/brew/openEMS.rb @@ -0,0 +1,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 + |