homebrew-core/Formula/json-c.rb

28 lines
729 B
Ruby
Raw Normal View History

2014-05-19 02:20:14 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class JsonC < Formula
2014-05-19 02:20:14 +00:00
homepage "https://github.com/json-c/json-c/wiki"
url "https://github.com/json-c/json-c/archive/json-c-0.11-20130402.tar.gz"
version "0.11"
sha1 "1910e10ea57a743ec576688700df4a0cabbe64ba"
2014-03-13 20:13:59 +00:00
bottle do
cellar :any
revision 1
sha1 "937cec063a3ad30b7c806c59b2c605c21b47fbb4" => :mavericks
sha1 "e1a3bdda78ce63c746582f58548da7a04a6baff1" => :mountain_lion
sha1 "789f81ff4f5b7f5a1bbb971841496af8cd61c449" => :lion
2014-03-13 20:13:59 +00:00
end
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
ENV.deparallelize
system "make install"
end
end