2010-03-17 17:17:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-01-28 20:03:47 +00:00
|
|
|
class Synergy < Formula
|
2011-06-09 04:49:50 +00:00
|
|
|
|
|
|
|
if ARGV.build_head?
|
2011-08-01 14:12:56 +00:00
|
|
|
url 'http://synergy.googlecode.com/files/synergy-1.4.3-MacOSX106-Universal.zip'
|
|
|
|
sha1 'aa60fa6ac975dd22dc095d6cd9f3dc755b91bb64'
|
|
|
|
version '1.4.3'
|
2011-06-09 04:49:50 +00:00
|
|
|
else
|
2011-08-29 18:26:23 +00:00
|
|
|
# Newer 1.3.x versions have a critical bug on OS X:
|
|
|
|
# http://code.google.com/p/synergy-plus/issues/detail?id=47
|
|
|
|
# Do not bump this to 1.3.7 or newer until that issue is resolved.
|
|
|
|
url 'http://synergy.googlecode.com/files/synergy-1.3.6p2-MacOSX-Universal.zip'
|
|
|
|
sha1 '5b9336fb553db17bd109e3f2bca517af18ed3863'
|
|
|
|
version '1.3.6p2'
|
2011-06-09 04:49:50 +00:00
|
|
|
end
|
|
|
|
|
2011-01-28 20:03:47 +00:00
|
|
|
homepage 'http://synergy-foss.org'
|
2010-03-17 17:17:25 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'synergyc'
|
|
|
|
bin.install 'synergys'
|
|
|
|
end
|
|
|
|
end
|