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/'
|
2013-01-17 16:05:23 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.3/c/avro-c-1.7.3.tar.gz'
|
|
|
|
sha1 '5fc1ec23974f49527173d734b1a1c9286b6ce9fe'
|
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
|