aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-03-19 21:07:02 -0700
committerAdam Vandenberg2012-03-20 06:56:46 -0700
commit4c08d25fc87a7ab08a5a02f6e633f139bea3e45c (patch)
tree31a2ead7fd555d5f52dac3de357c38bd29d24e8f /Library/Formula
parent77382e51e68f45b891cd360e579b1db268e20995 (diff)
downloadhomebrew-4c08d25fc87a7ab08a5a02f6e633f139bea3e45c.tar.bz2
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 #11080. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/clhep.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/clhep.rb b/Library/Formula/clhep.rb
index c0ff9f23b..cb52857f1 100644
--- a/Library/Formula/clhep.rb
+++ b/Library/Formula/clhep.rb
@@ -2,16 +2,14 @@ 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.1.0.tgz'
- md5 'f8acb50a9cdb9ac8937fecfcb741ba10'
+ 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 ../CLHEP #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix}"
- ENV.j1
- system "make"
+ system "cmake #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix} ../CLHEP"
system "make install"
end
end