17 lines
405 B
Ruby
17 lines
405 B
Ruby
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.4.2.tgz"
|
|
sha1 "519a163d575d01fa29397bee88116389382088c9"
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
def install
|
|
mkdir "clhep-build" do
|
|
system "cmake", "../CLHEP", *std_cmake_args
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|