homebrew-core/Formula/cjdns.rb
2015-11-02 17:43:46 -08:00

25 lines
859 B
Ruby

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"
bottle do
cellar :any_skip_relocation
sha256 "9c5cd5cca2928f98e65d4e285a1eba7102ca054827cfbefd2b2d31fcc43600a7" => :el_capitan
sha256 "3b2a279e5524d111020967495bffc11e17dd54b5842bc4c02c77b19219042bea" => :yosemite
sha256 "2b9e97cc73dbbd14c5e1973317322a989d8c6e90d9c3a9c9348070599be1898d" => :mavericks
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