2014-05-27 16:14:39 +00:00
|
|
|
class Davix < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Library and tools for advanced file I/O with HTTP-based protocols"
|
2015-06-05 21:14:35 +00:00
|
|
|
homepage "https://dmc.web.cern.ch/projects/davix/home"
|
2015-06-05 18:10:51 +00:00
|
|
|
url "https://github.com/cern-it-sdc-id/davix.git",
|
2015-09-15 12:44:48 +00:00
|
|
|
:revision => "c53eb1472537da1694a5adc4c8fef5611eae7ab8",
|
|
|
|
:tag => "R_0_5_0"
|
|
|
|
version "0.5.0"
|
2014-07-24 02:03:09 +00:00
|
|
|
|
2015-06-05 18:10:51 +00:00
|
|
|
head "https://github.com/cern-it-sdc-id/davix.git"
|
2014-05-27 16:14:39 +00:00
|
|
|
|
2014-06-04 17:50:17 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-09-15 15:40:39 +00:00
|
|
|
sha256 "4bab71124c9638ab089f1784dd01805d814ee81e037fc6f8d7ddfd70a2ab785a" => :yosemite
|
|
|
|
sha256 "8cdd2495b9286226b7be91e111a72f3d6d565b0245d5741f53901eb44266be3f" => :mavericks
|
|
|
|
sha256 "00709d9ef997292d7154e92903c5375d5c9d572d6581814f1bd843b5319a76ab" => :mountain_lion
|
2014-06-04 17:50:17 +00:00
|
|
|
end
|
|
|
|
|
2014-05-27 16:14:39 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "doxygen" => :build
|
2014-10-22 17:20:16 +00:00
|
|
|
depends_on "openssl"
|
2014-05-27 16:14:39 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.libcxx
|
|
|
|
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/davix-get", "http://www.google.com"
|
|
|
|
end
|
|
|
|
end
|