aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/avro-c.rb
blob: 36295d9437b476cc470e4b72524584bcd4913dad (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.1/c/avro-c-1.7.1.tar.gz'
  sha1 'dac162d65082ac905713d0b1be7d29a12f2eeb16'

  # 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