aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/davix.rb
blob: 5d2f66b7b53273f4e358d4bb0aaf1708b997adec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require "formula"

class Davix < Formula
  homepage "http://dmc.web.cern.ch/projects/davix/home"
  url "https://git.cern.ch/pub/davix.git", :tag => "R_0_3_6-2"
  version "0.3.6-2"

  head "https://git.cern.ch/pub/davix.git"

  bottle do
    cellar :any
    sha1 "5cfd3f49de7034c40ec309a5a17514caf46e9e8e" => :yosemite
    sha1 "525f241213630dfeaa3ec9d5ea019c8a0670b4dc" => :mavericks
    sha1 "21befa078d3cdea7369e037999a9e5be24f3157d" => :mountain_lion
  end

  depends_on "cmake" => :build
  depends_on "doxygen" => :build
  depends_on "openssl"

  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