homebrew-core/Formula/cjdns.rb

27 lines
913 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.4.tar.gz"
sha256 "2f30aa4d2cc96a6c1f00e873df19b7b213cca1af716d74a091f59aa98b5758c4"
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-06-24 02:30:48 +00:00
sha256 "d9d9653337e61885496efb25bf5642ba3fbcc7619f695b3321ec37b04ebd915d" => :el_capitan
sha256 "c1e288bdd1bb19f7dc4c45e91e3669d36de6b9036b1e4575fecd2b946b0bf5f1" => :yosemite
sha256 "4e6d7130d6cd52efcab254e3bca0347a5931597215cd48bccf1bf7c1e600c498" => :mavericks
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