blob: 4c9b81855f93e3f7915bc6cf23cd0fcfff5d3ee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class Chuck < Formula
homepage "http://chuck.cs.princeton.edu/"
url "http://chuck.cs.princeton.edu/release/files/chuck-1.3.5.0.tgz"
sha1 "a97ad56f9fd1b0793ead099cc9723e888b3782c3"
bottle do
cellar :any
sha1 "08c33bd5071ccbb466fa8347cc034702d1e6fd0b" => :yosemite
sha1 "513d888da91c755f743693a607075ee4d87b7661" => :mavericks
sha1 "f9831daea9100f13865049b40057fcec6b6e6203" => :mountain_lion
end
def install
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
|