aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/perforce-server.rb
blob: e7a7822b46e2152938df635a6c421e6866687cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class PerforceServer < Formula
  homepage 'http://www.perforce.com/'

  if MacOS.prefer_64_bit?
    url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86_64/p4d'
    version '2012.2.538478-x86_64'
    sha1 'c040e5a9182687a1d2e2f1027c9039d7c47fc5eb'
  else
    url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86/p4d'
    version '2012.2.538478-x86'
    sha1 'bd2771acca2091292d85a6384a756e986383de06'
  end

  def install
    bin.install 'p4d'
  end
end