homebrew-core/Formula/cjdns.rb

27 lines
910 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-v19.1.tar.gz"
sha256 "53c568a500215b055a9894178eb4477bd93a6e1abf751d0bc5ef2a03ea01a188"
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
2017-02-22 11:05:00 +00:00
sha256 "65d902b682b18871771255731e43edcc2b79d0433df84c69706760d4e3bbb4d5" => :sierra
sha256 "9f4cb38fb83e732205dbb81a247d466d97a5b759f91fbf8b0cc65df12116fb20" => :el_capitan
sha256 "33e2dba73aacd5fabeee29da7ba317d1c555cb0a4a48b77154db0155e234a601" => :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