New package: go1.17-bootstrap-1.17.13
This commit is contained in:
parent
6762456886
commit
2f8d92629c
|
@ -0,0 +1,4 @@
|
|||
This is a copy of the official Go language toolchain binaries as provided by
|
||||
the project on its download page. Please do keep in mind that it is almost
|
||||
definitely not what you want to use and exists purely for the purpose of
|
||||
bootstrapping the official compiler package (called simply 'go').
|
|
@ -0,0 +1,51 @@
|
|||
# Template file for 'go1.17-bootstrap'
|
||||
pkgname=go1.17-bootstrap
|
||||
version=1.17.13
|
||||
revision=1
|
||||
archs="x86_64* i686* armv[67]l* aarch64* ppc64le*"
|
||||
short_desc="Go 1.17 (bootstrap compiler)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://golang.org"
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
nocross=yes
|
||||
lib32disabled=yes
|
||||
repository=bootstrap
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
depends+=" gcompat"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*)
|
||||
_dist_arch="amd64"
|
||||
checksum="4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc"
|
||||
;;
|
||||
i686*)
|
||||
_dist_arch="386"
|
||||
checksum="5e02f35aecc6b89679f631e0edf12c49922dd31c8140cf8dd725c5797a9f2425"
|
||||
;;
|
||||
arm*)
|
||||
_dist_arch="armv6l"
|
||||
checksum="260431d7deeb8893c21e71fcbbb1fde3258616d8eba584c8d72060228ab42c86"
|
||||
;;
|
||||
aarch64*)
|
||||
_dist_arch="arm64"
|
||||
checksum="914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d"
|
||||
;;
|
||||
ppc64le*)
|
||||
_dist_arch="ppc64le"
|
||||
checksum="bd0763fb130f8412672ffe1e4a8e65888ebe2419e5caa9a67ac21e8c298aa254"
|
||||
;;
|
||||
esac
|
||||
|
||||
distfiles="https://dl.google.com/go/go${version}.linux-${_dist_arch}.tar.gz"
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/lib/go${version}
|
||||
vcopy bin usr/lib/go${version}
|
||||
vcopy src usr/lib/go${version}
|
||||
vcopy pkg usr/lib/go${version}
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in New Issue