dev-go/gox:
added tagged version of gox Package-Manager: portage-2.3.0
This commit is contained in:
parent
d2f4d9e1ea
commit
bf56c9b294
5 changed files with 124 additions and 0 deletions
32
dev-go/gox/gox-0.3.1_alpha.ebuild
Normal file
32
dev-go/gox/gox-0.3.1_alpha.ebuild
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot eutils
|
||||
|
||||
EGO_PN="github.com/fritteli/gox/..."
|
||||
MY_PV="v${PV/_/-}"
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A dead simple, no frills Go cross compile tool"
|
||||
HOMEPAGE="https://github.com/fritteli/gox"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0/${PVR}"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-go/iochan"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0001-github-path.patch"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir pkg || die
|
||||
golang-build_src_install
|
||||
dobin bin/*
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue