From 2c4aa75e1f5326cc189e3ecb29b788db6d4f5d18 Mon Sep 17 00:00:00 2001 From: piti Date: Wed, 28 Sep 2011 20:11:06 -0700 Subject: clhep 2.1.1.0 Signed-off-by: Adam Vandenberg --- Library/Formula/clhep.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/clhep.rb (limited to 'Library') diff --git a/Library/Formula/clhep.rb b/Library/Formula/clhep.rb new file mode 100644 index 000000000..c0ff9f23b --- /dev/null +++ b/Library/Formula/clhep.rb @@ -0,0 +1,18 @@ +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.1.0.tgz' + md5 'f8acb50a9cdb9ac8937fecfcb741ba10' + + depends_on 'cmake' => :build + + def install + mkdir 'clhep-build' do + system "cmake ../CLHEP #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix}" + ENV.j1 + system "make" + system "make install" + end + end +end -- cgit v1.2.3