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-03-30 16:19:26 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.4/c/avro-c-1.7.4.tar.gz'
|
|
|
|
sha1 '1bd4c2fde2c9291bb50e05679f3e3e48c9c9eefa'
|
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
|