aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/json-c.rb
diff options
context:
space:
mode:
authorKashif Rasul2013-06-21 14:13:42 +0200
committerAdam Vandenberg2013-06-21 16:44:59 -0700
commiteeb3d655ffc638f13863b39b019e23253881f9a7 (patch)
treeac20bb1941a61cd994b156aa83acd000247dde0d /Library/Formula/json-c.rb
parentf0dfea67f3ce2964689f400a4b635a271413bb3b (diff)
downloadhomebrew-eeb3d655ffc638f13863b39b019e23253881f9a7.tar.bz2
json-c 0.11
Pull upstream Postgis patch for json-c compatibility. Closes #20660. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/json-c.rb')
-rw-r--r--Library/Formula/json-c.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/Library/Formula/json-c.rb b/Library/Formula/json-c.rb
index a4805fafa..793bb14d4 100644
--- a/Library/Formula/json-c.rb
+++ b/Library/Formula/json-c.rb
@@ -1,18 +1,15 @@
require 'formula'
-# Stick with 0.10; PostGIS doesn't build against 0.11
class JsonC < Formula
homepage 'https://github.com/json-c/json-c/wiki'
- url 'https://github.com/downloads/json-c/json-c/json-c-0.10.tar.gz'
- sha1 'f90f643c8455da21d57b3e8866868a944a93c596'
+ url 'https://github.com/json-c/json-c/archive/json-c-0.11-20130402.tar.gz'
+ version '0.11'
+ sha1 '1910e10ea57a743ec576688700df4a0cabbe64ba'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
+ ENV.deparallelize
system "make install"
-
- # The Makefile forgets to install this header. This is fixed upstream and
- # can be pulled on the next release.
- (include/'json').install 'json_object_iterator.h'
end
end