33 lines
1,008 B
Ruby
33 lines
1,008 B
Ruby
class Davix < Formula
|
|
desc "Library and tools for advanced file I/O with HTTP-based protocols"
|
|
homepage "https://dmc.web.cern.ch/projects/davix/home"
|
|
url "https://github.com/cern-it-sdc-id/davix.git",
|
|
:tag => "R_0_7_2",
|
|
:revision => "b416d1604e3b38b48271e8bd080354b0262d8490"
|
|
version "0.7.2"
|
|
head "https://github.com/cern-it-sdc-id/davix.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "094a9a44f16fa66f249085a5a9c851aa683a970f32959caa0ceb3d011cfa1624" => :mojave
|
|
sha256 "a7de5508066a1c6de8e3cfe0c8e0f48ecb642b2fd721b175ad3941872ec6e2ee" => :high_sierra
|
|
sha256 "7c5254106571e6ccc40ae21eb5139baf328081e576dcaf4d097d835237ffe81d" => :sierra
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "doxygen" => :build
|
|
depends_on "python@2" => :build
|
|
depends_on "openssl"
|
|
depends_on "ossp-uuid"
|
|
|
|
def install
|
|
ENV.libcxx
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/davix-get", "https://www.google.com"
|
|
end
|
|
end
|