diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-10-21 20:17:49 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-10-21 20:17:49 +0200 |
commit | 63bee18334e5b0bdda8e04739131e63c984b5cfe (patch) | |
tree | ddcfc3703c876644a2a56e41a0cac59264e8ace8 /app-emulation/docker-proxy/docker-proxy-0.8.0_p20191011.ebuild | |
parent | app-admin/helm: Version bump to 2.15.0 (diff) | |
download | gentoo-63bee18334e5b0bdda8e04739131e63c984b5cfe.tar.gz gentoo-63bee18334e5b0bdda8e04739131e63c984b5cfe.tar.bz2 gentoo-63bee18334e5b0bdda8e04739131e63c984b5cfe.zip |
app-emulation/docker-proxy: Version bump for docker 19.03.4
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'app-emulation/docker-proxy/docker-proxy-0.8.0_p20191011.ebuild')
-rw-r--r-- | app-emulation/docker-proxy/docker-proxy-0.8.0_p20191011.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emulation/docker-proxy/docker-proxy-0.8.0_p20191011.ebuild b/app-emulation/docker-proxy/docker-proxy-0.8.0_p20191011.ebuild new file mode 100644 index 000000000000..dbfc6c6a965b --- /dev/null +++ b/app-emulation/docker-proxy/docker-proxy-0.8.0_p20191011.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/docker/libnetwork" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + EGIT_COMMIT="3eb39382bfa6a3c42f83674ab080ae13b0e34e5d" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="Docker container networking" +HOMEPAGE="https://github.com/docker/libnetwork" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RESTRICT="test" # needs dockerd + +src_compile() { + GOPATH="${WORKDIR}/${P}" go build -o "bin/docker-proxy" ./cmd/proxy || die +} + +src_install() { + dodoc README.md CHANGELOG.md + dobin bin/docker-proxy +} |