2014-05-27 16:14:39 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Davix < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Library and tools for advanced file I/O with HTTP-based protocols"
|
2014-05-27 16:14:39 +00:00
|
|
|
homepage "http://dmc.web.cern.ch/projects/davix/home"
|
2014-12-11 17:08:36 +00:00
|
|
|
url "https://git.cern.ch/pub/davix.git", :tag => "R_0_4_0-1"
|
|
|
|
version "0.4.0-1"
|
2014-07-24 02:03:09 +00:00
|
|
|
|
2014-05-27 16:14:39 +00:00
|
|
|
head "https://git.cern.ch/pub/davix.git"
|
|
|
|
|
2014-06-04 17:50:17 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-12-11 17:25:53 +00:00
|
|
|
sha1 "7b0e8b98a4bea320f53e18aee117b57b0e1e78d4" => :yosemite
|
|
|
|
sha1 "c9f097cb09483cd1be6d18d76c04728d9dcb6622" => :mavericks
|
|
|
|
sha1 "ed43d4321c579740ac29d3302f39f89e8c5f0ffb" => :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
|