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-04-20 20:26:10 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.6.3/c/avro-c-1.6.3.tar.gz'
|
|
|
|
md5 'af3f15605b47d02719706e5d67de8e75'
|
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
|