New Formula: JsonSpirit

JsonSpirit is a C++ JSON Parser/Generator Implemented with Boost Spirit

http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx

Closes Homebrew/homebrew#9507.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Stephen Bannasch 2012-01-09 13:36:48 -05:00 committed by Mike McQuaid
parent 6a1eddf91a
commit 32cb2e6e0b

16
Formula/json_spirit.rb Normal file
View file

@ -0,0 +1,16 @@
require 'formula'
class JsonSpirit < Formula
url 'https://uwe-arzt.de/files/json_spirit_v4.04.zip'
homepage 'http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx'
md5 '0729870198528a28c21c5ee588d032a4'
depends_on 'boost'
depends_on 'cmake' => :build
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end