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-07-30 16:54:21 +00:00
|
|
|
url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86_64/p4'
|
2012-07-28 18:55:47 +00:00
|
|
|
version '2012.1.473528-x86_64'
|
2012-07-30 16:54:21 +00:00
|
|
|
sha1 '536d43c3fc0560da5aeacbd2bd3405891c442066'
|
2012-05-18 17:16:34 +00:00
|
|
|
else
|
2012-07-30 16:54:21 +00:00
|
|
|
url 'http://filehost.perforce.com/perforce/r12.1/bin.darwin90x86/p4'
|
2012-07-28 18:55:47 +00:00
|
|
|
version '2012.1.473528-x86'
|
2012-07-30 16:54:21 +00:00
|
|
|
sha1 'c10768ca3b6d7b8d1a2558b4b9fb965d2148523f'
|
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
|