2015-08-03 01:56:14 +08:00
|
|
|
cask :v1_1 => 'docker-machine' do
|
2015-11-04 17:41:10 +08:00
|
|
|
version '0.5.0'
|
|
|
|
sha256 '75f18940c734425b3635c9485da148910dee6612cc677549563ba7662e3d36f6'
|
2015-03-08 06:26:27 +08:00
|
|
|
|
2015-03-11 07:15:05 +08:00
|
|
|
# github.com is the official download host per the vendor homepage
|
2015-08-15 23:56:38 +08:00
|
|
|
url "https://github.com/docker/machine/releases/download/v#{version}/docker-machine_darwin-amd64"
|
2015-03-15 19:50:46 +08:00
|
|
|
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
|
2015-08-03 00:58:13 +08:00
|
|
|
set_permissions "#{staged_path}/docker-machine_darwin-amd64", '0755'
|
2015-03-08 06:26:27 +08:00
|
|
|
end
|
2015-03-08 07:00:24 +08:00
|
|
|
|
2015-03-11 07:40:34 +08:00
|
|
|
depends_on :formula => 'docker'
|
2015-03-08 07:00:24 +08:00
|
|
|
depends_on :arch => :x86_64
|
2015-03-08 06:26:27 +08:00
|
|
|
end
|