Page MenuHomeSolus

package.yml
No OneTemporary

package.yml

name : golang
version : 1.20.7
release : 100
homepage : https://golang.org
source :
- https://golang.org/dl/go1.20.7.src.tar.gz : 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597
license : BSD-3-Clause
summary : The Go programming language
description: Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
autodep : no
strip : no
component : programming
builddeps :
- binutils-gold # Needed for src/cmd/go/note_test.go
- llvm-clang # Needed for src/cmd/link/cgo_test.go
- golang
rundeps :
- glibc
replaces :
- golang-binary
environment: |
export GOROOT_BOOTSTRAP="%libdir%/golang"
export GOROOT_FINAL="%libdir%/golang"
setup : |
%apply_patches
build : |
# Build and run test suites
pushd src
bash ./all.bash
# Install into this working tree
popd
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std
install : |
mkdir -p $installdir/%libdir%/golang
mkdir -p $installdir/usr/bin
cp -a * $installdir/%libdir%/golang
chmod +x $installdir/%libdir%/golang/bin/{go,gofmt}
ln -s %libdir%/golang/bin/go $installdir/usr/bin/go
ln -s %libdir%/golang/bin/gofmt $installdir/usr/bin/gofmt
rm -rf $installdir/usr/lib64/golang/pkg/obj

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 1:05 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5894607
Default Alt Text
package.yml (1 KB)

Event Timeline