homebrew-core/Formula/clhep.rb
nibbles 2bits cbaa046784 clhep 2.1.2.2
Upgrade to clhep 2.1.2.2.  Fixes compile error with clang.
Builds in parallel.  Remove ENV.j1.  Passes `make test` on Lion
and Snow Leopard with five compilers from Xcode-4.3.1 and 4.0.2.

Closes Homebrew/homebrew#11080.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-20 06:56:46 -07:00

16 lines
439 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.2.2.tgz'
sha1 '374340e316c192c211db36c4cd3f29407cc75318'
depends_on 'cmake' => :build
def install
mkdir 'clhep-build' do
system "cmake #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix} ../CLHEP"
system "make install"
end
end
end