homebrew-core/Formula/avro-c.rb

29 lines
944 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class AvroC < Formula
desc "Data serialization system"
homepage "https://avro.apache.org/"
2016-06-29 09:42:18 +00:00
url "https://www.apache.org/dyn/closer.cgi?path=avro/avro-1.8.1/c/avro-c-1.8.1.tar.gz"
sha256 "e5042088fa47e1aa2860c5cfed0bd061d81f9e96628f8b4d87a24d9b8c5e4ecc"
revision 1
2015-12-29 13:24:46 +00:00
bottle do
cellar :any
2016-10-11 03:33:40 +00:00
sha256 "2ac1ff52207a67f9efd9b62c616122472897183fd0823950e3b67e2ba72da6c6" => :sierra
sha256 "e4a3fac26f221aba730618345e9f024bce23b852d8318d59f95feff1adc5d20f" => :el_capitan
sha256 "3a486446c6a1b9ae93b0501214a42f54d14b9753646fbe3a8ec2b03025b476cc" => :yosemite
2015-12-29 13:24:46 +00:00
end
option "with-snappy", "Build with Snappy codec support"
option "with-xz", "Build with LZMA codec support"
depends_on "pkg-config" => :build
2014-08-22 02:46:46 +00:00
depends_on "cmake" => :build
depends_on "jansson"
depends_on "snappy" => :optional
depends_on "xz" => :optional
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end