blob: 880b445c70a0bac092c2575b4b85b0883387036e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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.2.0.3.tgz"
sha1 "6e56f80c2db3c4f8828dec27815beae6655c8d9e"
bottle do
cellar :any
sha1 "af98835b134fefc9532141ad6b9999542de25413" => :mavericks
sha1 "6d45d414a3036c932a2e0a3dd5bc0ba22ff53315" => :mountain_lion
sha1 "549425101a1b93753d567e5eb6d2f8a202179559" => :lion
end
depends_on "cmake" => :build
def install
mkdir "clhep-build" do
system "cmake", "../CLHEP", *std_cmake_args
system "make install"
end
end
end
|