From bd0ca9eeb6ed3c7dad64cb44b65fea3012f587c6 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 24 Nov 2015 18:42:00 -0600 Subject: [PATCH] dev-lang/go: rev bump to install binaries correctly Now we install the binaries in /usr/lib/go along with the rest of the Go tree and use symlinks in /usr/bin to point to them. --- dev-lang/go/go-1.5.1-r1.ebuild | 213 +++++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 dev-lang/go/go-1.5.1-r1.ebuild diff --git a/dev-lang/go/go-1.5.1-r1.ebuild b/dev-lang/go/go-1.5.1-r1.ebuild new file mode 100644 index 000000000000..29d8207f78fa --- /dev/null +++ b/dev-lang/go/go-1.5.1-r1.ebuild @@ -0,0 +1,213 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} + +inherit eutils toolchain-funcs + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/golang/go.git" + inherit git-r3 +else + SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz" + # go-bootstrap-1.4 only supports go on amd64, arm and x86 architectures. + # Allowing other bootstrap options would enable arm64 and ppc64 builds. + KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos" +fi + +DESCRIPTION="A concurrent garbage collected and typesafe programming language" +HOMEPAGE="http://www.golang.org" + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="" + +DEPEND=">=dev-lang/go-bootstrap-1.4.1" +RDEPEND="!