golang-base.eclass

Name

golang-base.eclass -- Eclass that provides base functions for Go packages.

Description

This eclass provides base functions for software written in the Go programming language; it also provides the build-time dependency on dev-lang/go.

Deprecated

Replacement: go-module.eclass

Supported EAPIs

5 6 7

Functions

ego_pn_check

Make sure EGO_PN has a value.

get_golibdir

Return the non-prefixed library directory where Go packages should be installed

get_golibdir_gopath

Return the library directory where Go packages should be installed This is the prefixed version which should be included in GOPATH

golang_install_pkgs

Install Go packages. This function assumes that ${PWD} is a Go workspace.

Variables

EGO_PN (REQUIRED)

This is the import path for the go package to build. Please emerge dev-lang/go and read go help importpath for syntax.

Example:

EGO_PN=github.com/user/package

Maintainers

William Hubbs <williamh@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/