GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

5 versions of Golang.

ProgramAgeSizeByWWWSummary
Golang hg-r4 1890  916 Kevi...
The Go Programming Language
Golang 1.8-r1 22  1284 Hish...
The Go language
view entry at GitHub | download recipe.bz2 file
Recipe
Resources/BuildDependencies
Resources/Dependencies
Resources/Description
i686/Recipe
x86_64/Recipe
# Recipe for version 1.8 by Hisham Muhammad <hisham@gobolinux.org>, on Mon Apr 3 \
21:37:45 BRT 2017
# Recipe (MakeRecipe) for Golang by Hisham Muhammad <hisham@gobolinux.org>, on Mon \
Sep 29 15:22:47 BRT 2014
compile_version=2.0
url="https://storage.googleapis.com/golang/go1.8.src.tar.gz"
file_size=15320083
file_md5=7743960c968760437b6e39093cfe6f67
dir='go'
recipe_type=manifest
create_dirs_first=yes
manifest=(
)
environment=(
	"GOOS=linux"
	"GOBIN=$target/bin"
	"GOROOT_FINAL=$target/lib/go"
    "CGO_ENABLED=0"
    "GOROOT_BOOTSTRAP=$golang_path"
)
sandbox_options=(
    --no-sandbox
)
do_build()
{
    $sudo_exec chown -R "$(whoami)" "$target"
    pushd src
    bash ./make.bash
    popd
    $sudo_exec chown -R "$(SuperUserName)" "$target"
}
do_install() {
   $sudo_exec mkdir -p "$target/lib/go"
   $sudo_exec cp -a pkg "$target/lib/go"
   $sudo_exec cp -a bin "$target"
   # This is a little hack since the value at GOROOT_FINAL it's not picked by the \
./make.bash script
   # If you know how to correct this, you're encouraged to do so. Please, by all \
means.
   $sudo_exec ln -s "$target/lib/go/pkg" "$target/pkg"
}
Golang 1.7.4-r2 36  1342 Pedr...
The Go language
Golang 1.4_bootstrap_20161024-r2 124  1299 Pedr...
The Go language
Golang 1.3.2-r2 130  1026 Hish...
The Go language