homebrew-core/Formula/cjdns.rb

26 lines
859 B
Ruby
Raw Normal View History

class Cjdns < Formula
desc "Advanced mesh routing system with cryptographic addressing"
homepage "https://github.com/cjdelisle/cjdns/"
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
2015-11-03 00:55:52 +00:00
sha256 "9c5cd5cca2928f98e65d4e285a1eba7102ca054827cfbefd2b2d31fcc43600a7" => :el_capitan
sha256 "3b2a279e5524d111020967495bffc11e17dd54b5842bc4c02c77b19219042bea" => :yosemite
sha256 "2b9e97cc73dbbd14c5e1973317322a989d8c6e90d9c3a9c9348070599be1898d" => :mavericks
2015-11-01 20:56:43 +00:00
end
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