Merge pull request #1165 from mischief/mayday

Mayday
This commit is contained in:
Nick Owens 2015-03-31 16:33:33 -07:00
commit be351c3bdf
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1 @@
mayday-9999.ebuild

View File

@ -0,0 +1,38 @@
#
# Copyright (c) 2015 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header:$
#
EAPI=5
CROS_WORKON_PROJECT="coreos/mayday"
CROS_WORKON_LOCALNAME="mayday"
CROS_WORKON_REPO="git://github.com"
COREOS_GO_PACKAGE="github.com/coreos/mayday"
inherit coreos-go cros-workon
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64"
else
CROS_WORKON_COMMIT="eaff09119f3a5b911908e4d3200272034466fe5d" # v0.1.0
KEYWORDS="amd64"
fi
DESCRIPTION="mayday"
HOMEPAGE="https://github.com/coreos/mayday"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
DEPEND=">=dev-lang/go-1.2"
src_compile() {
go_build "${COREOS_GO_PACKAGE}/cmd"
}
src_install() {
newbin ${WORKDIR}/gopath/bin/cmd mayday
}

View File

@ -96,6 +96,7 @@ RDEPEND="${RDEPEND}
app-admin/flannel
app-admin/fleet
app-admin/locksmith
app-admin/mayday
app-admin/sudo
app-admin/toolbox
app-arch/gzip