2010-09-23 15:51:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class AvroC < Formula
|
2010-09-23 15:51:38 +00:00
|
|
|
homepage 'http://avro.apache.org/'
|
2012-08-15 14:29:47 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.1/c/avro-c-1.7.1.tar.gz'
|
|
|
|
sha1 'dac162d65082ac905713d0b1be7d29a12f2eeb16'
|
2012-01-25 19:17:26 +00:00
|
|
|
|
2012-08-17 22:42:14 +00:00
|
|
|
# probably should be an optional dep
|
|
|
|
conflicts_with 'xz'
|
|
|
|
|
2012-01-25 19:17:26 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-09-23 15:51:38 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2010-09-23 15:51:38 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|