homebrew-cask/Casks/docker-machine.rb

22 lines
716 B
Ruby
Raw Normal View History

2015-03-08 06:26:27 +08:00
cask :v1 => 'docker-machine' do
2015-04-21 20:32:33 +08:00
version 'v0.2.0'
sha256 'fe32b4a321323b48c5dde833fbdb3eb9ab5b9b89a80cddb935b5f4b5961ed58c'
2015-03-08 06:26:27 +08:00
# github.com is the official download host per the vendor homepage
2015-03-08 06:26:27 +08:00
url "https://github.com/docker/machine/releases/download/#{version}/docker-machine_darwin-amd64"
appcast 'https://github.com/docker/machine/releases.atom'
2015-03-08 06:26:27 +08:00
name 'Docker Machine'
homepage 'https://docs.docker.com/machine'
license :apache
container :type => :naked
binary 'docker-machine_darwin-amd64', :target => 'docker-machine'
postflight do
system '/bin/chmod', '--', '0755', "#{staged_path}/docker-machine_darwin-amd64"
end
depends_on :formula => 'docker'
depends_on :arch => :x86_64
2015-03-08 06:26:27 +08:00
end