cask :v1_1 => 'docker-machine050' do version '0.5.0-rc3' sha256 '9ac47f853b85fabdc552c4ed4a2d5f435ab0dc85ed8c2ca7f797c2fdf724d015' # github.com is the official download host per the vendor homepage url "https://github.com/docker/machine/releases/download/v#{version}/docker-machine_darwin-amd64.zip" appcast 'https://github.com/docker/machine/releases.atom' name 'Docker Machine' homepage 'https://docs.docker.com/machine' license :apache container :type => :zip binary 'docker-machine' binary 'docker-machine-driver-amazonec2' binary 'docker-machine-driver-azure' binary 'docker-machine-driver-digitalocean' binary 'docker-machine-driver-exoscale' binary 'docker-machine-driver-generic' binary 'docker-machine-driver-google' binary 'docker-machine-driver-hyperv' binary 'docker-machine-driver-none' binary 'docker-machine-driver-openstack' binary 'docker-machine-driver-rackspace' binary 'docker-machine-driver-softlayer' binary 'docker-machine-driver-virtualbox' binary 'docker-machine-driver-vmwarefusion' binary 'docker-machine-driver-vmwarevcloudair' binary 'docker-machine-driver-vmwarevsphere' postflight do set_permissions "#{staged_path}/docker-machine", '0755' set_permissions "#{staged_path}/docker-machine-driver-amazonec2", '0755' set_permissions "#{staged_path}/docker-machine-driver-azure", '0755' set_permissions "#{staged_path}/docker-machine-driver-digitalocean", '0755' set_permissions "#{staged_path}/docker-machine-driver-exoscale", '0755' set_permissions "#{staged_path}/docker-machine-driver-generic", '0755' set_permissions "#{staged_path}/docker-machine-driver-google", '0755' set_permissions "#{staged_path}/docker-machine-driver-hyperv", '0755' set_permissions "#{staged_path}/docker-machine-driver-none", '0755' set_permissions "#{staged_path}/docker-machine-driver-openstack", '0755' set_permissions "#{staged_path}/docker-machine-driver-rackspace", '0755' set_permissions "#{staged_path}/docker-machine-driver-softlayer", '0755' set_permissions "#{staged_path}/docker-machine-driver-virtualbox", '0755' set_permissions "#{staged_path}/docker-machine-driver-vmwarefusion", '0755' set_permissions "#{staged_path}/docker-machine-driver-vmwarevcloudair", '0755' set_permissions "#{staged_path}/docker-machine-driver-vmwarevsphere", '0755' end depends_on :formula => 'docker' depends_on :arch => :x86_64 end