homebrew-core/Formula/cjdns.rb

27 lines
908 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-v18.tar.gz"
sha256 "57e5fe05b9775daf16f23c16c24035a4e380a3c9461faa2e1bc9de0bc6b147ab"
2016-02-25 20:13:10 +00:00
head "https://github.com/cjdelisle/cjdns.git"
2015-06-15 08:02:34 +00:00
2015-11-01 20:56:43 +00:00
bottle do
cellar :any_skip_relocation
2016-10-12 21:05:12 +00:00
sha256 "519c9a9c5a6879a05b47e85f70ee6bccefb878dc605b209504273de88d5fefa6" => :sierra
sha256 "36fad567a8247329814508b2dfa7b2d343e70e594399ef95e14e3107d0fbb799" => :el_capitan
sha256 "23eb33042c33c32d9d319aa59a9093f0a0fefaad7d7b28cef390b4186f98037a" => :yosemite
2015-11-01 20:56:43 +00:00
end
depends_on "node" => :build
def install
system "./do"
bin.install "cjdroute"
2016-02-25 20:13:10 +00:00
(pkgshare/"test").install "build_darwin/test_testcjdroute_c" => "cjdroute_test"
end
test do
2016-02-25 20:13:10 +00:00
system "#{pkgshare}/test/cjdroute_test", "all"
end
end