aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Hellmich2014-05-27 18:14:39 +0200
committerAdam Vandenberg2014-05-28 07:19:28 -0700
commit5f83e72bdc4cf814a15035dfdb0e100888b98eb6 (patch)
tree2f31b250478f0a592973532a82a9653c6c0512bb
parent87f7005b78251f949c2bfdf323ed83698ee89d84 (diff)
downloadhomebrew-5f83e72bdc4cf814a15035dfdb0e100888b98eb6.tar.bz2
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 #29620. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/davix.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/davix.rb b/Library/Formula/davix.rb
new file mode 100644
index 000000000..a39bbf08c
--- /dev/null
+++ b/Library/Formula/davix.rb
@@ -0,0 +1,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