homebrew-core/Formula/chuck.rb

23 lines
650 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Chuck < Formula
2014-05-23 18:27:49 +00:00
homepage "http://chuck.cs.princeton.edu/"
url "http://chuck.cs.princeton.edu/release/files/chuck-1.3.5.0.tgz"
sha1 "a97ad56f9fd1b0793ead099cc9723e888b3782c3"
2014-11-14 19:31:10 +00:00
bottle do
cellar :any
2015-02-13 21:58:45 +00:00
sha1 "08c33bd5071ccbb466fa8347cc034702d1e6fd0b" => :yosemite
sha1 "513d888da91c755f743693a607075ee4d87b7661" => :mavericks
sha1 "f9831daea9100f13865049b40057fcec6b6e6203" => :mountain_lion
2014-11-14 19:31:10 +00:00
end
def install
2014-05-23 18:27:49 +00:00
system "make", "-C", "src", "osx"
bin.install "src/chuck"
(share/"chuck").install "examples"
end
test do
assert_match /probe \[success\]/m, shell_output("#{bin}/chuck --probe 2>&1")
end
end