mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-03 05:59:45 -05:00
Apparently the shared library has been split into two libraries on 0.11,
which breaks things that are dependent on the old structure (e.g.
postgis).
See #19068.
This reverts commit a37b4561a6.
18 lines
543 B
Ruby
18 lines
543 B
Ruby
require 'formula'
|
|
|
|
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'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
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
|