2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-21 18:59:03 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Perforce < Formula
|
2010-01-13 22:34:42 +00:00
|
|
|
homepage 'http://www.perforce.com/'
|
2012-05-18 17:16:34 +00:00
|
|
|
|
|
|
|
if MacOS.prefer_64_bit?
|
2012-11-05 15:15:08 +00:00
|
|
|
url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86_64/p4'
|
2013-04-24 05:19:38 +00:00
|
|
|
version '2012.2.585708-x86_64'
|
2013-02-14 17:36:54 +00:00
|
|
|
sha1 '6ecdbd5559ea4d04cddf81d76afe71e5cbe2baee'
|
2012-05-18 17:16:34 +00:00
|
|
|
else
|
2012-11-05 15:15:08 +00:00
|
|
|
url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86/p4'
|
2013-04-24 05:19:38 +00:00
|
|
|
version '2012.2.585708-x86'
|
|
|
|
sha1 '5ed386620ce7a86e809b75d7a2d19f079a34f0ad'
|
2012-05-18 17:16:34 +00:00
|
|
|
end
|
2010-06-28 21:18:13 +00:00
|
|
|
|
2009-09-21 18:59:03 +00:00
|
|
|
def install
|
|
|
|
bin.install 'p4'
|
|
|
|
end
|
|
|
|
end
|