2d4efedf06
XRootD provides tools and ways to build high performance scalable data repositories. Closes Homebrew/homebrew#11879. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
424 B
Ruby
20 lines
424 B
Ruby
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
|