aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorpiti2011-09-28 20:11:06 -0700
committerAdam Vandenberg2012-03-19 18:08:54 -0700
commit2c4aa75e1f5326cc189e3ecb29b788db6d4f5d18 (patch)
tree48681ce8454c4942e9846e829c7bac3ef6ce3c5d /Library
parent81353a373753899f9d3bae50560b8e01dead4f54 (diff)
downloadhomebrew-2c4aa75e1f5326cc189e3ecb29b788db6d4f5d18.tar.bz2
clhep 2.1.1.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/clhep.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/clhep.rb b/Library/Formula/clhep.rb
new file mode 100644
index 000000000..c0ff9f23b
--- /dev/null
+++ b/Library/Formula/clhep.rb
@@ -0,0 +1,18 @@
+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'
+
+ 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 "make install"
+ end
+ end
+end