homebrew-core/Formula/xrootd.rb
Brett Koonce 1643b558be xrootd 3.3.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-24 06:52:25 -07:00

20 lines
427 B
Ruby

require 'formula'
class Xrootd < Formula
homepage 'http://xrootd.slac.stanford.edu/index.html'
url 'http://xrootd.slac.stanford.edu/download/v3.3.2/xrootd-3.3.2.tar.gz'
sha1 '353e7328d0d3cc7307e68a92e4778286af54284a'
depends_on 'cmake' => :build
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make install"
end
end
def test
system "#{bin}/xrootd"
end
end