From: "Alexys Jacob" <ultrabug@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ultrabug:master commit in: app-admin/consul/
Date: Tue, 3 Jun 2014 13:04:28 +0000 (UTC) [thread overview]
Message-ID: <1401800664.4d7e66d6b736f3b06f1a41ad2ee07cf1d1cf71b0.ultrabug@gentoo> (raw)
commit: 4d7e66d6b736f3b06f1a41ad2ee07cf1d1cf71b0
Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 3 13:04:24 2014 +0000
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Tue Jun 3 13:04:24 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=4d7e66d6
new app-admin/consul ebuild
---
app-admin/consul/Manifest | 1 +
app-admin/consul/consul-0.2.1.ebuild | 54 ++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest
new file mode 100644
index 0000000..10a18f8
--- /dev/null
+++ b/app-admin/consul/Manifest
@@ -0,0 +1 @@
+EBUILD consul-0.2.1.ebuild 1020 SHA256 c425c13b033c36d871078c01ae629de1b179b736068d7a1e13799ed387574e19 SHA512 58ca9a619e2f128ea7c72d9c423c7b3bfd3ee9a15873f7180b134b92d608bd87145187987c9a40ac0205aaf4bb3592a0d2c440858442096e8623b311bcdaa923 WHIRLPOOL 6d8dc042f0cea42c57dddb73774d699166905bdecca8daa57021fc665a7897cac5cf6f7dd34bf0b6cbcfada980bfad0461f851b87c784964a4fdf904428e2f8c
diff --git a/app-admin/consul/consul-0.2.1.ebuild b/app-admin/consul/consul-0.2.1.ebuild
new file mode 100644
index 0000000..11ea2fd
--- /dev/null
+++ b/app-admin/consul/consul-0.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="tool for service discovery, monitoring and configuration."
+HOMEPAGE="http://www.consul.io"
+SRC_URI=""
+
+EGIT_REPO_URI="git://github.com/hashicorp/consul.git"
+if [[ ${PV} == *9999 ]]; then
+ KEYWORDS=""
+else
+ EGIT_COMMIT="v${PV}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+inherit git-2
+
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/go-1.2
+ dev-vcs/git
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # see : https://github.com/hashicorp/consul/pull/188
+ sed -e 's/format:/format: deps/g' -i Makefile
+}
+
+src_compile() {
+ # create a suitable GOPATH
+ export GOPATH="${WORKDIR}/gopath"
+ mkdir -p "$GOPATH" || die
+
+ local MY_S="${GOPATH}/src/github.com/hashicorp/consul"
+
+ # make sure consul itself is in our GOPATH
+ mkdir -p "${GOPATH}/src/github.com/hashicorp" || die
+ mv "${S}" "${MY_S}" || die
+ ln -sf "${MY_S}" "${S}"
+
+ # let's do something fun
+ emake
+}
+
+src_install() {
+ dobin bin/consul
+}
next reply other threads:[~2014-06-03 13:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 13:04 Alexys Jacob [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-06-03 17:17 [gentoo-commits] dev/ultrabug:master commit in: app-admin/consul/ Alexys Jacob
2014-06-04 10:05 Alexys Jacob
2014-06-04 13:38 Alexys Jacob
2014-06-04 13:38 Alexys Jacob
2014-06-25 15:01 Alexys Jacob
2014-08-14 8:48 Alexys Jacob
2014-10-21 13:42 ` Alexys Jacob
2014-10-21 13:42 Alexys Jacob
2015-03-26 12:16 Alexys Jacob
2015-06-03 14:21 Alexys Jacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1401800664.4d7e66d6b736f3b06f1a41ad2ee07cf1d1cf71b0.ultrabug@gentoo \
--to=ultrabug@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox