homebrew-core/Formula/perforce-server.rb

20 lines
497 B
Ruby

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.585708-x86_64'
sha1 'e404c431df55d382b16d3f61a50261735865300f'
else
url 'http://filehost.perforce.com/perforce/r12.2/bin.darwin90x86/p4d'
version '2012.2.585708-x86'
sha1 '2bdc3261519973f6f2dbb6222065398993fce52a'
end
def install
bin.install 'p4d'
end
end