From 7aead294f03f3fe7e00112da3d450fc6d4cb8878 Mon Sep 17 00:00:00 2001 From: Simon Head Date: Wed, 25 Apr 2012 19:52:16 +0100 Subject: xrootd 3.1.1 XRootD provides tools and ways to build high performance scalable data repositories. Closes #11879. Signed-off-by: Adam Vandenberg --- Library/Formula/xrootd.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Library/Formula/xrootd.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3