mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
go1.4-bootstrap: remove
[ci skip]
This commit is contained in:
parent
294deaf114
commit
dee5a098f7
3 changed files with 6 additions and 42 deletions
1
srcpkgs/go1.4-bootstrap/INSTALL.msg
Normal file
1
srcpkgs/go1.4-bootstrap/INSTALL.msg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
go1.4-bootstrap is no longer provided by Void Linux, and will be fully removed from the repos on 2020-02-17
|
|
@ -1,46 +1,10 @@
|
||||||
# Template file for 'go1.4-bootstrap'
|
# Template file for 'go1.4-bootstrap'
|
||||||
pkgname=go1.4-bootstrap
|
pkgname=go1.4-bootstrap
|
||||||
version=20171003
|
version=20171003
|
||||||
revision=1
|
revision=2
|
||||||
create_wrksrc=yes
|
archs=noarch
|
||||||
build_wrksrc="go"
|
build_style=meta
|
||||||
short_desc="Go 1.4 (bootstrap compiler)"
|
short_desc="Go 1.4 (bootstrap compiler) (removed package)"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="3-clause-BSD"
|
license="BSD-3-Clause"
|
||||||
homepage="https://golang.org"
|
homepage="https://golang.org"
|
||||||
distfiles="https://dl.google.com/go/go1.4-bootstrap-${version}.tar.gz"
|
|
||||||
checksum=f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52
|
|
||||||
|
|
||||||
archs="x86_64* i686*"
|
|
||||||
|
|
||||||
nostrip=yes
|
|
||||||
noverifyrdeps=yes
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
unset GCC CC CXX LD CFLAGS CXXFLAGS
|
|
||||||
# FIXME: work around leaking go build-style vars when built as a
|
|
||||||
# dependency
|
|
||||||
unset CGO_CXXFLAGS CGO_CFLAGS CGO_ENABLED
|
|
||||||
|
|
||||||
env > ENV.${XBPS_TARGET_MACHINE}
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
|
||||||
aarch64*) _goarch=arm64 ;;
|
|
||||||
arm*) _goarch=arm ;;
|
|
||||||
i686*) _goarch=386 ;;
|
|
||||||
x86_64*) _goarch=amd64 ;;
|
|
||||||
*) _goarch=${XBPS_TARGET_MACHINE} ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
export GOROOT="${PWD}"
|
|
||||||
export GOARCH="${_goarch}"
|
|
||||||
cd src
|
|
||||||
GOROOT_FINAL="/usr/lib/go1.4" ./make.bash
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vmkdir usr/lib/go1.4
|
|
||||||
vcopy bin usr/lib/go1.4
|
|
||||||
vcopy src usr/lib/go1.4
|
|
||||||
vcopy pkg usr/lib/go1.4
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
site="https://golang.org/doc/install/source"
|
|
Loading…
Add table
Reference in a new issue