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

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

  bottle do
    cellar :any
    sha1 "7fd2d4e6dd0d2572c9bf00df6e63e0f23349684e" => :mavericks
    sha1 "873460802e57043ba558741a0e04cb6b1ef61ec7" => :mountain_lion
    sha1 "b17e9338f9f545dcb2a6c336fd03cdf9bf6cbdcb" => :lion
  end

  stable do
    url "https://git.cern.ch/pub/davix.git", :tag => "R_0_3_1"
    version "0.3.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