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-02-22 05:12:27 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.6.1/c/avro-c-1.6.1.tar.gz'
|
2012-01-25 19:17:26 +00:00
|
|
|
md5 'd5c74692f9c4ff2f642b69fff56a6ae3'
|
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
2010-09-23 15:51:38 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-22 05:12:27 +00:00
|
|
|
system "cmake #{std_cmake_parameters} ."
|
2010-09-23 15:51:38 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|