golang: v↑ (1.5.3)
[slapos.git] / component / golang / buildout.cfg
1 # Go language - https://golang.org/
2 [buildout]
3 parts = golang
4
5 [golang]
6 <= golang15
7
8
9 [golang-common]
10 recipe = slapos.recipe.cmmi
11 configure-command = :
12 location = ${buildout:parts-directory}/${:_buildout_section_name_}
13 make-binary =
14 make-targets= cd src && ./all.bash && cp -alf .. ${:location}
15 environment =
16   GOROOT_FINAL=${:location}
17   ${:environment-extra}
18
19
20 [golang14]
21 <= golang-common
22 url = https://storage.googleapis.com/golang/go1.4.3.src.tar.gz
23 md5sum = dfb604511115dd402a77a553a5923a04
24 environment-extra =
25
26
27 [golang15]
28 <= golang-common
29 url = https://storage.googleapis.com/golang/go1.5.3.src.tar.gz
30 md5sum = 80a0eac7ab750b01b3f7096a1d4667b8
31
32 # go1.5 needs go1.4 to bootstrap
33 environment-extra =
34   GOROOT_BOOTSTRAP=${golang14:location}