blob: 8b17494eb2d6920a3558e9b37996d4ec9027e89d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Xrootd < Formula
homepage 'http://xrootd.slac.stanford.edu/index.html'
url 'http://xrootd.slac.stanford.edu/download/v3.3.1/xrootd-3.3.1.tar.gz'
sha1 'ffea6e798f0e9dccf79854736483c914393bd754'
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
|