2014-04-19 18:55:57 +00:00
|
|
|
require "formula"
|
2011-09-29 03:11:06 +00:00
|
|
|
|
|
|
|
class Clhep < Formula
|
2014-04-19 18:55:57 +00:00
|
|
|
homepage "http://proj-clhep.web.cern.ch/proj-clhep/"
|
2014-08-22 02:22:59 +00:00
|
|
|
url "http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.3.tgz"
|
|
|
|
sha1 "6e56f80c2db3c4f8828dec27815beae6655c8d9e"
|
2011-09-29 03:11:06 +00:00
|
|
|
|
2014-07-25 02:07:42 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-08-22 03:02:49 +00:00
|
|
|
sha1 "af98835b134fefc9532141ad6b9999542de25413" => :mavericks
|
|
|
|
sha1 "6d45d414a3036c932a2e0a3dd5bc0ba22ff53315" => :mountain_lion
|
|
|
|
sha1 "549425101a1b93753d567e5eb6d2f8a202179559" => :lion
|
2014-07-25 02:07:42 +00:00
|
|
|
end
|
|
|
|
|
2014-04-19 18:55:57 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
|
2011-09-29 03:11:06 +00:00
|
|
|
def install
|
2014-04-19 18:55:57 +00:00
|
|
|
mkdir "clhep-build" do
|
2014-05-14 03:43:59 +00:00
|
|
|
system "cmake", "../CLHEP", *std_cmake_args
|
2011-09-29 03:11:06 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|