blob: d4a1fb07f5ad47246b938dc08ccc5190b38d7dfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class LibjsonRpcCpp < Formula
homepage "https://github.com/cinemast/libjson-rpc-cpp"
url "https://github.com/cinemast/libjson-rpc-cpp/archive/v0.4.2.tar.gz"
sha1 "a9e00bfdb1b6843897fb644caa114577c349e18c"
bottle do
cellar :any
sha1 "d6d672f1bbfb224d822788937fb7f9c8c545c875" => :yosemite
sha1 "7cae25c4101d4b4b504b4cc8125734f64a7eccbc" => :mavericks
sha1 "320fbd360648ffcf84fce6a33694fcb0ce3dbf07" => :mountain_lion
end
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
|