2014-10-21 20:40:44 +00:00
|
|
|
class LibjsonRpcCpp < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C++ framework for json-rpc"
|
2014-10-21 20:40:44 +00:00
|
|
|
homepage "https://github.com/cinemast/libjson-rpc-cpp"
|
2015-04-10 07:32:07 +00:00
|
|
|
url "https://github.com/cinemast/libjson-rpc-cpp/archive/v0.5.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99"
|
2014-10-21 20:40:44 +00:00
|
|
|
|
2014-12-22 06:28:37 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-10-30 20:51:48 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "2aca5b29db5d3e191213780a6c8d811c78f5581bc8b4a9e28afe21170063d4a4" => :el_capitan
|
|
|
|
sha256 "ada489878d1c4773d8c18cd491e978efebe5c609a46a7c09372490122bde4cba" => :yosemite
|
|
|
|
sha256 "ae843e663ba29a0a2a26a1b2bee813816624781a2fe667a2df5e31883e4d7d02" => :mavericks
|
2014-12-22 06:28:37 +00:00
|
|
|
end
|
|
|
|
|
2014-10-21 20:40:44 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "argtable"
|
|
|
|
depends_on "jsoncpp"
|
|
|
|
depends_on "libmicrohttpd"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/jsonrpcstub", "-h"
|
|
|
|
end
|
|
|
|
end
|