homebrew-core/Formula/clhep.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

18 lines
482 B
Ruby

require 'formula'
class Clhep < Formula
homepage 'http://proj-clhep.web.cern.ch/proj-clhep/'
url 'http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.1.2.2.tgz'
sha1 '374340e316c192c211db36c4cd3f29407cc75318'
depends_on 'cmake' => :build
def install
mkdir 'clhep-build' do
system "cmake", "../CLHEP",
"-DCMAKE_PREFIX_PATH=#{prefix}",
*std_cmake_args
system "make install"
end
end
end