aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/docker.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-02-10 18:56:33 +0000
committerMike McQuaid2014-02-10 20:59:45 +0000
commite73a07babbbc0016f33b18c904255a62adb869d3 (patch)
treebadd97a5027a7227c6699e9ab987cd2e9736d858 /Library/Formula/docker.rb
parent6d70fb0c718f4aa70ebf40874dcee4f146ea5361 (diff)
downloadhomebrew-e73a07babbbc0016f33b18c904255a62adb869d3.tar.bz2
docker: update packaging based on upstream.
Diffstat (limited to 'Library/Formula/docker.rb')
-rw-r--r--Library/Formula/docker.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/docker.rb b/Library/Formula/docker.rb
index 119cdaebb..a1458400c 100644
--- a/Library/Formula/docker.rb
+++ b/Library/Formula/docker.rb
@@ -11,20 +11,21 @@ class Docker < Formula
sha1 "3f054cc6e3f55cf3a14e466d19dde0adc2889dcf" => :lion
end
+ def patches
+ "https://github.com/dotcloud/docker/commit/6174ba.patch"
+ end
+
depends_on "go" => :build
def install
ENV["DOCKER_GITCOMMIT"] = downloader.cached_location.cd do
`git rev-parse HEAD`
end
- ENV["GOPATH"] = "#{buildpath}/vendor"
- (buildpath/"vendor/src/github.com/dotcloud").mkpath
- ln_s buildpath, "vendor/src/github.com/dotcloud/docker"
+ ENV["AUTO_GOPATH"] = "1"
inreplace "hack/make/dynbinary", "sha1sum", "shasum"
system "hack/make.sh", "dynbinary"
bin.install "bundles/0.8.0/dynbinary/docker-0.8.0" => "docker"
- bin.install "bundles/0.8.0/dynbinary/dockerinit-0.8.0" => "dockerinit"
end
test do