2012-01-09 18:36:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class JsonSpirit < Formula
|
|
|
|
homepage 'http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx'
|
2012-02-22 05:12:27 +00:00
|
|
|
url 'https://uwe-arzt.de/files/json_spirit_v4.04.zip'
|
2012-01-09 18:36:48 +00:00
|
|
|
md5 '0729870198528a28c21c5ee588d032a4'
|
|
|
|
|
|
|
|
depends_on 'boost'
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2012-01-09 18:36:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|