homebrew-core/Formula/xrootd.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes .
Closes .

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

21 lines
424 B
Ruby

require 'formula'
class Xrootd < Formula
homepage 'http://xrootd.org'
url 'http://xrootd.org/download/v3.3.6/xrootd-3.3.6.tar.gz'
sha1 'be1fca000a517933c73c68e40cee6203fd2b6ad6'
depends_on 'cmake' => :build
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make install"
end
share.install prefix/'man'
end
test do
system "#{bin}/xrootd", "-H"
end
end