summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/docker-machine/Manifest1
-rw-r--r--app-emulation/docker-machine/docker-machine-0.7.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-emulation/docker-machine/Manifest b/app-emulation/docker-machine/Manifest
index d359a8d4c15e..9d00e6b2acda 100644
--- a/app-emulation/docker-machine/Manifest
+++ b/app-emulation/docker-machine/Manifest
@@ -2,3 +2,4 @@ DIST docker-machine-0.4.1.tar.gz 1620966 SHA256 f089657b2de7a3ce15374e69be3f654b
DIST docker-machine-0.5.2.tar.gz 1452215 SHA256 2dd6ed03e546a7c733ec6964b47b85b6d328e830ebca318240f6ddfcaed6f98a SHA512 4a724cc4ad867a2b3b79bd0006b554ae072c142daa7ca29c6430bb6614bc6b971eeca79d93cae98b8f38d97b5a1a5e872f9015cc09200b69551732998b1ba601 WHIRLPOOL 249d9e2456ad79867a0c380c549704b88275a177a78ae610ae207bed5189f20f6279e1f604dc10cbf9fc1feb75bff7460d2eb4a39aaabcc427e8bbaa419e7940
DIST docker-machine-0.5.4.tar.gz 1586940 SHA256 050640764c9f55e76b9475b04ebd9d6069e63cf7e2b54c2d07eda9254722d90e SHA512 47fcee2d236154be7ca57646620f91b09127918f36d239e79e9381b219791eb67a635210d7006eb98ff1c6271aacbf4b9d5a7dfce8a02b6e392745c954d0dd48 WHIRLPOOL a9cdb5e2c9767e481b7e704cb1492ea0e95cbc9cadf59886dbc07bba13864718e19f2d278412662d503d71f554dfa302d56de4129d5c2f09f88a1d85b421477f
DIST docker-machine-0.6.0.tar.gz 2693505 SHA256 e95f1d0efee8de1b0d97ddc2620cd8ee57ea0de9950a302307e9a9cd3d32ae5a SHA512 f71fab7ed8e9a39edc36190d417305f089ec6f28dec916b0386d06ccdabf509fadf36872b6d914b40dd5af073b55d6ae61633d5a869f144718186531e475741d WHIRLPOOL a6325dba453e783028888c1ab16f47e108d0a3a4ccac3b42ca02cf41adb5a72a0b61b7c35929e6e5088a2d00e58ef0e24984c93c58923e06c119d7bdac55612e
+DIST docker-machine-0.7.0.tar.gz 3173248 SHA256 b36152f719a453327ab071b7f9fef76a5b3264b7944c14ad20c79f7535114e4a SHA512 312c6222ae5bb82e9236021502cc8aa486b76dc4f6773729a5887def2fcf06499fa62cebc79ba9c91f88685411d0e88fa0d0ce218382a748afdabadbee8cc4fd WHIRLPOOL 236070fade6887221979ea3b3aa0a62d734fecaa800ab89a0242130355d0d196d064a764bc1abaafc47a193b9cfc24caef6067eca68e8e4bacab929d7ca7a137
diff --git a/app-emulation/docker-machine/docker-machine-0.7.0.ebuild b/app-emulation/docker-machine/docker-machine-0.7.0.ebuild
new file mode 100644
index 000000000000..106b440e21f0
--- /dev/null
+++ b/app-emulation/docker-machine/docker-machine-0.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+EGO_PN=github.com/docker/machine/...
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT="v${PV}"
+ SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Machine management for a container-centric world"
+HOMEPAGE="https://docs.docker.com/machine/ "
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+RESTRICT="test"
+DEPEND=">=dev-lang/go-1.5:="
+RDEPEND=""
+S=${WORKDIR}/${P}/src/${EGO_PN%/*}
+
+src_prepare() {
+ # don't pre-strip binaries
+ sed -e 's|\(GO_LDFLAGS := $(GO_LDFLAGS) -w\) -s|\1|' -i mk/main.mk ||die
+}
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake build || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc CHANGELOG.md CONTRIBUTING.md README.md ROADMAP.md
+}