blob: 0e5e87cde549194173fbdf7d318b8fe69023e6ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'formula'
class AvroC < Formula
homepage 'http://avro.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.3/c/avro-c-1.7.3.tar.gz'
sha1 '5fc1ec23974f49527173d734b1a1c9286b6ce9fe'
# probably should be an optional dep
conflicts_with 'xz'
depends_on 'cmake' => :build
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
end
|