mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
32 lines
633 B
Bash
32 lines
633 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
inherit golang-vcs-snapshot
|
|
|
|
DESCRIPTION="Command line tool for Amazon Route 53"
|
|
HOMEPAGE="https://github.com/barnybug/cli53"
|
|
SRC_URI="https://github.com/barnybug/cli53/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
EGO_PN="github.com/barnybug/cli53"
|
|
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
|
|
|
src_compile() {
|
|
GOPATH="${WORKDIR}/${P}" emake version=${PV} build
|
|
}
|
|
|
|
src_test() {
|
|
GOPATH="${WORKDIR}/${P}" go test -v || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin cli53
|
|
dodoc {CHANGELOG,README}.md
|
|
}
|