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/"
|
2017-02-22 11:00:59 +00:00
|
|
|
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
|
|
|
|
|
2015-06-12 21:27:44 +00:00
|
|
|
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"
|
2015-06-12 21:27:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2016-02-25 20:13:10 +00:00
|
|
|
system "#{pkgshare}/test/cjdroute_test", "all"
|
2015-06-12 21:27:44 +00:00
|
|
|
end
|
|
|
|
end
|