2010-02-20 14:23:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class JsonC < Formula
|
2012-09-11 16:52:14 +00:00
|
|
|
homepage 'https://github.com/json-c/json-c/wiki'
|
2013-04-07 23:22:13 +00:00
|
|
|
url 'https://github.com/json-c/json-c/archive/json-c-0.11-20130402.tar.gz'
|
|
|
|
version '0.11'
|
|
|
|
sha1 '1910e10ea57a743ec576688700df4a0cabbe64ba'
|
2010-02-20 14:23:03 +00:00
|
|
|
|
|
|
|
def install
|
2012-09-11 16:52:14 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2012-09-30 05:32:29 +00:00
|
|
|
|
2013-04-07 23:22:13 +00:00
|
|
|
ENV.deparallelize
|
|
|
|
system "make install"
|
2010-02-20 14:23:03 +00:00
|
|
|
end
|
|
|
|
end
|