homebrew-core/Formula/davix.rb
Martin Hellmich adf2e79769 davix 0.2.10 (new formula)
Create the formula for davix, a fast and feature-rich HTTP and DAV
client and HTTP/DAV library.
It is used in the High Energy Physics community, specifically in the
analysis framework ROOT (http://root.cern.ch/drupal/) for data
access via HTTP/DAV.

Closes Homebrew/homebrew#29620.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-28 07:19:28 -07:00

25 lines
496 B
Ruby

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