summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klausmann <klausman@gentoo.org>2018-04-09 10:48:58 +0200
committerTobias Klausmann <klausman@gentoo.org>2018-04-09 10:48:58 +0200
commit14a93855f34476896a62c03181a79b83660edced (patch)
tree5e55313da820161d196678503a7c5e911edbcf04 /app-portage
parentsys-libs/glibc: fix USE=headers-only install for powerpc64le target (diff)
downloadgentoo-14a93855f34476896a62c03181a79b83660edced.tar.gz
gentoo-14a93855f34476896a62c03181a79b83660edced.tar.bz2
gentoo-14a93855f34476896a62c03181a79b83660edced.zip
app-portage/golop: Add v0.0.1
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/golop/Manifest1
-rw-r--r--app-portage/golop/golop-0.0.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-portage/golop/Manifest b/app-portage/golop/Manifest
new file mode 100644
index 00000000000..991ce1dc0ad
--- /dev/null
+++ b/app-portage/golop/Manifest
@@ -0,0 +1 @@
+DIST golop-0.0.1.tar.gz 8316 BLAKE2B a1e51d55ef4744f3a6d00bcba145a410c9f67e78107bb990f6195ec5912d875e31308556e5d1e993917526121857ece09bd894556328e37453ea98d0a306f6d8 SHA512 650ceeb2607871d029f97ced882d661d1045dce6792c2c43f9c79076497a37290bc944f1b619ca133faac73c9fd1a6c35f1f2afd8e84c17ddf37252b66f08650
diff --git a/app-portage/golop/golop-0.0.1.ebuild b/app-portage/golop/golop-0.0.1.ebuild
new file mode 100644
index 00000000000..c244fad578e
--- /dev/null
+++ b/app-portage/golop/golop-0.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+EGO_PN=github.com/klausman/golop
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64 ~x86"
+ 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="A pure Go re-implementation of genlop"
+HOMEPAGE="https://github.com/klausman/golop"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ dobin ${PN}
+
+ declare -a DOCS
+ DOCS+=( src/${EGO_PN}/README.md )
+ einstalldocs
+}