aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/synergy.rb
blob: 569edef036244bdd794abab4125ea270ea518632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

class Synergy < Formula

  if ARGV.build_head?
    url 'http://synergy.googlecode.com/files/synergy-1.4.3-MacOSX106-Universal.zip'
    sha1 'aa60fa6ac975dd22dc095d6cd9f3dc755b91bb64'
    version '1.4.3'
  else
    # 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'
  end

  homepage 'http://synergy-foss.org'

  def install
    bin.install 'synergyc'
    bin.install 'synergys'
  end
end