homebrew-core/Formula/simgrid.rb
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00

23 lines
535 B
Ruby

require 'formula'
class Simgrid < Formula
homepage 'http://simgrid.gforge.inria.fr'
url 'https://gforge.inria.fr/frs/download.php/29207/simgrid-3.6.2.tar.gz'
md5 '35b10c0fb6d47bdbbf19417ab0ab2e6c'
depends_on 'cmake' => :build
depends_on 'pcre'
depends_on 'graphviz'
fails_with :clang do
build 318
end
def install
system "cmake", ".",
"-Denable_debug=on",
"-Denable_compile_optimizations=off",
*std_cmake_args
system "make install"
end
end