blob: 8ba5c6894a4d8492eb351009c0f7af977438564f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.3.1.tgz'
sha1 '3ef0b7410d71ca25bb2f5b5ba6d928a338e30e6e'
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
|