aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/davix.rb
blob: a39bbf08cc11caaff08dd7a6c6174a216a9a1f4a (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
require "formula"

class Davix < Formula
  homepage "http://dmc.web.cern.ch/projects/davix/home"
  head "https://git.cern.ch/pub/davix.git"

  stable do
    url "https://git.cern.ch/pub/davix.git", :tag => "R_0_2_10-1"
    version "0.2.10-1"
  end

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

  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