class Xrootd < Formula desc "High performance, scalable, fault-tolerant access to data" homepage "http://xrootd.org" url "http://xrootd.org/download/v4.1.1/xrootd-4.1.1.tar.gz" sha256 "3e472ec8068adc76f10df8a1bb1c795bb37a0a9936d4a255cc62073eb86c70c4" head "https://github.com/xrootd/xrootd.git" bottle do cellar :any revision 1 sha256 "10019de1deb873bb5324d94ec6153dab41e537f1cdbab4eaf7c00f6de666e0d4" => :el_capitan sha1 "9a9d65cd4671a62253bf1d270d0e7e789e4385f7" => :yosemite sha1 "81dc9c675bb2fff6a63079bd0d61c0a8dbad2344" => :mavericks sha1 "02b5631c4943e11c45d03ce75fbd133f90170265" => :mountain_lion end depends_on "cmake" => :build depends_on "openssl" 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