clhep 2.1.1.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
ee5a004b7e
commit
c18b0e134a
1 changed files with 18 additions and 0 deletions
18
Formula/clhep.rb
Normal file
18
Formula/clhep.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue