homebrew-core/Formula/davix.rb

31 lines
700 B
Ruby
Raw Normal View History

require "formula"
class Davix < Formula
homepage "http://dmc.web.cern.ch/projects/davix/home"
2014-07-24 02:03:09 +00:00
url "https://git.cern.ch/pub/davix.git", :tag => "R_0_3_4"
version "0.3.4"
head "https://git.cern.ch/pub/davix.git"
bottle do
cellar :any
2014-07-23 13:50:15 +00:00
sha1 "26b49cc9cc80dfcd4afe3e7cc2ee2621a18e1270" => :mavericks
sha1 "ecbe105f2e286df23107daf69aa2e1d2ad58b5dd" => :mountain_lion
sha1 "3b374d8e9dd79c8dbe59d94d8226ef93778e5325" => :lion
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