# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ 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" 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="!