2014-08-22 02:46:55 +00:00
|
|
|
require "formula"
|
2012-08-20 21:42:09 +00:00
|
|
|
|
|
|
|
class AvroCpp < Formula
|
2014-08-22 02:46:55 +00:00
|
|
|
homepage "http://avro.apache.org/"
|
|
|
|
url "http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.7/cpp/avro-cpp-1.7.7.tar.gz"
|
|
|
|
sha1 "2fdc16bfee5786053846341d89d11160df8d57d4"
|
2012-08-20 21:42:09 +00:00
|
|
|
|
2014-08-22 02:46:55 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "boost"
|
2012-08-20 21:42:09 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|