aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSimon Head2012-04-25 19:52:16 +0100
committerAdam Vandenberg2012-04-28 11:08:17 -0700
commit7aead294f03f3fe7e00112da3d450fc6d4cb8878 (patch)
tree2c68629a5214f1e46456bfe0a6228ee93cd179d3 /Library/Formula
parentb6156d99a84a3e101bcf6df0f972c8bc923fd2da (diff)
downloadhomebrew-7aead294f03f3fe7e00112da3d450fc6d4cb8878.tar.bz2
xrootd 3.1.1
XRootD provides tools and ways to build high performance scalable data repositories. Closes #11879. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xrootd.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/xrootd.rb b/Library/Formula/xrootd.rb
new file mode 100644
index 000000000..434a745a6
--- /dev/null
+++ b/Library/Formula/xrootd.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Xrootd < Formula
+ homepage 'http://xrootd.slac.stanford.edu/index.html'
+ url 'http://xrootd.slac.stanford.edu/download/v3.1.1/xrootd-3.1.1.tar.gz'
+ md5 '6466b12a99aed3f8ea0b56b5b3ace093'
+
+ depends_on 'cmake' => :build
+
+ def install
+ mkdir "build" do
+ system "cmake", "..", *std_cmake_parameters
+ system "make install"
+ end
+ end
+
+ def test
+ system "#{bin}/xrootd"
+ end
+end