summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2018-06-06 18:30:52 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2018-06-06 18:30:52 +0800
commitf0e34632263aed4f28b2c291d55ef3906f93f4c0 (patch)
tree1d1856dbe9f9ec92f99a4fbb996034209a2494b5
parentAdd net-libs/grpc (libressl) (diff)
downloadpigfoot-f0e34632263aed4f28b2c291d55ef3906f93f4c0.tar.gz
pigfoot-f0e34632263aed4f28b2c291d55ef3906f93f4c0.tar.bz2
pigfoot-f0e34632263aed4f28b2c291d55ef3906f93f4c0.zip
Add dev-util/docker-gen
-rw-r--r--dev-util/docker-gen/Manifest1
-rw-r--r--dev-util/docker-gen/docker-gen-0.7.4.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/docker-gen/Manifest b/dev-util/docker-gen/Manifest
new file mode 100644
index 0000000..70265a3
--- /dev/null
+++ b/dev-util/docker-gen/Manifest
@@ -0,0 +1 @@
+DIST docker-gen-0.7.4.tar.gz 27884 BLAKE2B f2915aa7a5a6588df8f42e49d72c309cc7de7a881fb2048633b72d0d6e96bfb36d031f612be1659c75fe4f5f6b087f5dbfbe6e0ca7daa121d46f70a63bccaed1 SHA512 aa051577a4cda497dfc8a985b877bb75d2010c4f81dced6d144ad9c61703f45ed06294ae928923752221636249064b778af2ad00e386fd6efd73ad942efbd3b5
diff --git a/dev-util/docker-gen/docker-gen-0.7.4.ebuild b/dev-util/docker-gen/docker-gen-0.7.4.ebuild
new file mode 100644
index 0000000..31714e2
--- /dev/null
+++ b/dev-util/docker-gen/docker-gen-0.7.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GOLANG_PKG_IMPORTPATH="github.com/jwilder"
+GOLANG_PKG_BUILDPATH="/cmd/docker-gen"
+GOLANG_PKG_HAVE_TEST=1
+
+inherit user golang-single
+
+DESCRIPTION="Generate files from docker container meta-data"
+HOMEPAGE="https://github.com/jwilder/docker-gen"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86 arm"
+
+src_compile() {
+ export PATH="$GOBIN:$PATH"
+ emake get-deps || die
+ rm "${GOBIN}"/glock || die
+
+ golang-single_src_compile
+}