2015-06-12 21:27:44 +00:00
|
|
|
class Cjdns < Formula
|
|
|
|
desc "Advanced mesh routing system with cryptographic addressing"
|
|
|
|
homepage "https://github.com/cjdelisle/cjdns/"
|
2015-11-02 23:06:32 +00:00
|
|
|
url "https://github.com/cjdelisle/cjdns/archive/cjdns-v17.1.tar.gz"
|
|
|
|
sha256 "cb058693ca4b12fd946544f8effc7df4c022750f7150f67cbed093e394952626"
|
2015-06-15 08:02:34 +00:00
|
|
|
|
2015-11-01 20:56:43 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "30e0707ca8e2769bc0cf87f95b5279b5a2833e6270f567c55ef04f2a8b139f7d" => :el_capitan
|
|
|
|
sha256 "c9ed4bd3a1aa5056404aca2f20d13d38d6195033b0e34a331d1e66b7cbf12499" => :yosemite
|
|
|
|
sha256 "fd44d9b878d33fb3f7cbd3bdae1d607cd477b980b5580d7e8fb5161453870f5c" => :mavericks
|
|
|
|
end
|
|
|
|
|
2015-06-12 21:27:44 +00:00
|
|
|
depends_on "node" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./do"
|
|
|
|
bin.install "cjdroute"
|
|
|
|
(share+"test").install "build_darwin/test_testcjdroute_c" => "cjdroute_test"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{share}/test/cjdroute_test", "all"
|
|
|
|
end
|
|
|
|
end
|