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-09-03 18:33:56 +00:00
|
|
|
sha1 '5e92f0b337c43104faaf23f082d4c6763986bdd1'
|
2012-01-09 18:36:48 +00:00
|
|
|
|
|
|
|
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
|