aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/avro-cpp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/avro-cpp.rb')
-rw-r--r--Library/Formula/avro-cpp.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/avro-cpp.rb b/Library/Formula/avro-cpp.rb
new file mode 100644
index 000000000..dad5c843d
--- /dev/null
+++ b/Library/Formula/avro-cpp.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class AvroCpp < Formula
+ homepage 'http://avro.apache.org/'
+ url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.2/cpp/avro-cpp-1.7.2.tar.gz'
+ sha1 'f9116583e4f230288317410404b066664722f9e4'
+
+ depends_on 'cmake' => :build
+ depends_on 'boost'
+
+ def install
+ system "cmake", ".", *std_cmake_args
+ system "make install"
+ end
+end