cask :v1 => 'eclipse-jee' do
  version '4.4.1'

  if Hardware::CPU.is_32_bit?
    sha256 '3e3d6c80fb0a4c4fa12060cd52680df0722ebc45efae27e367c1d2a8fa0b8b0b'
    url 'http://download.eclipse.org/technology/epp/downloads/release/luna/SR1a/eclipse-jee-luna-SR1a-macosx-cocoa.tar.gz'
  else
    sha256 '6f24c787d247323a69b3c2ba0312edce46a23337d61199276cd2ea8681e90612'
    url 'http://download.eclipse.org/technology/epp/downloads/release/luna/SR1a/eclipse-jee-luna-SR1a-macosx-cocoa-x86_64.tar.gz'
  end

  name 'Eclipse'
  name 'Eclipse IDE for Java EE Developers'
  homepage 'http://eclipse.org/'
  license :eclipse

  app 'eclipse/Eclipse.app'
end

cask :v1 => 'eclipse-jee' do
  version '4.4.2'

  if Hardware::CPU.is_32_bit?
    sha256 '319a0c224c356aca62d3aae2b157cb958031e4afb4dfd41f6ab853915cd62dba'
    url 'http://download.eclipse.org/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-macosx-cocoa.tar.gz'
  else
    sha256 '27e4307b45b76f664c52c43995cc2dca605cc751aa4605baf08b625eacf3d6ab'
    url 'http://download.eclipse.org/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-macosx-cocoa-x86_64.tar.gz'
  end

  name 'Eclipse'
  name 'Eclipse IDE for Java EE Developers'
  homepage 'http://eclipse.org/'
  license :eclipse

  app 'eclipse/Eclipse.app'
end

Update Eclipse IDE for Java EE Developers to v4.4.2 (Luna SR2)
Update Eclipse IDE for Java EE Developers to v4.4.2 (Luna SR2)
