forked from lotia/homebrew-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cvsps2.rb
22 lines (19 loc) · 799 Bytes
/
cvsps2.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Cvsps2 < Formula
homepage "http://www.catb.org/~esr/cvsps/"
url "http://www.cobite.com/cvsps/cvsps-2.1.tar.gz"
sha256 "91d3198b33463861a581686d5fcf99a5c484e7c4d819384c04fda9cafec1075a"
bottle do
cellar :any
sha256 "b8c56242eeab6032ea45267eda778852ed8101a6403ffbe570a39040849a7292" => :yosemite
sha256 "c28f907d790d36bdb5afdb3acccf604b8dbf10c3208ffd545e6040374fcb4988" => :mavericks
sha256 "37eed6e3d42ae1163b1ea40c246c9877e8f1737588b8654d4d6b28620f9b8c0c" => :mountain_lion
end
def install
system "make", "all"
system "make", "install", "prefix=#{prefix}"
end
test do
# an assert_match on shell_output hangs indefinitely, as does normal syntax usage.
assert_match /special hack for parsing the/, pipe_output("#{bin}/cvsps -h 2>&1")
end
end