[Lunar-commits] <moonbase-other> go: version bumped to 1.4.

Florin Braescu florin at lunar-linux.org
Thu Dec 25 15:57:48 CET 2014


commit e700f6d7db3b2193956ed8691ea26d438fc8e10f
Author: Florin Braescu <florin at lunar-linux.org>
Date: Thu, 25 Dec 2014 16:57:24 +0200
URL: https://github.com/lunar-linux/moonbase-other/commit/e700f6d7db3b2193956ed8691ea26d438fc8e10f

go: version bumped to 1.4.
---
  compilers/go/BUILD        | +23/-11   
  compilers/go/DEPENDS      | +7/-1     
  compilers/go/DETAILS      | +3/-3     
  compilers/go/POST_INSTALL | +1/-0     
  4 files changed, 34 insertions(+), 15 deletions(-)

--- a/compilers/go/BUILD
+++ b/compilers/go/BUILD
@@ -23,30 +23,42 @@ case "$(arch)" in
     ;;
 esac &&
 
-$GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/godoc &&
-$GOROOT/bin/go build -o $SOURCE_DIRECTORY/godoc code.google.com/p/go.tools/cmd/godoc &&
+cd $SOURCE_DIRECTORY &&
+$GOROOT/bin/go get -d golang.org/x/tools/cmd/godoc &&
+$GOROOT/bin/go build -o $SOURCE_DIRECTORY/godoc golang.org/x/tools/cmd/godoc &&
 for i in vet cover; do
-  $GOROOT/bin/go get -d code.google.com/p/go.tools/cmd/${i} &&
-  $GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${i} code.google.com/p/go.tools/cmd/${i}
+  $GOROOT/bin/go get -d golang.org/x/tools/cmd/${i} &&
+  $GOROOT/bin/go build -o $GOROOT/pkg/tool/${GOOS}_${GOARCH}/${i} golang.org/x/tools/cmd/${i}
 done &&
 
 # Clean up before install
-#find $SOURCE_DIRECTORY/ -type f -name '*.[ao]' | xargs rm -f &&
-find $SOURCE_DIRECTORY/src/pkg -type f -executable | xargs rm -f &&
+#find $SOURCE_DIRECTORY/ -type f -name '*.[ao]' -delete &&
+#find $SOURCE_DIRECTORY/ -type f -executable -delete &&
 
 prepare_install &&
 
 cd $SOURCE_DIRECTORY &&
 install -Dm0755 godoc /usr/bin/godoc &&
-install -Dm0644 misc/bash/go /usr/share/bash-completion/completions/go &&
 mkdir -p /usr/{share/go,lib/go/src,lib/go/site/src} &&
 cp -r doc misc /usr/share/go/ &&
-cp -a bin/* /usr/bin/ &&
-cp -a pkg /usr/lib/go &&
-cp -a src/pkg /usr/lib/go/src/ &&
+cp -a bin/* /usr/bin/  &&
+cp -a pkg /usr/lib/go/ &&
+cp -a src /usr/lib/go/ &&
 cp -a src/cmd /usr/lib/go/src/ &&
 cp -a src/lib9 /usr/lib/go/src/ &&
 cp -a lib /usr/lib/go/ &&
 cp -a include /usr/lib/go/ &&
 install -Dm0644 src/Make.* /usr/lib/go/src/ &&
-ln -sf /usr/bin /usr/lib/go/bin
+ln -sf /usr/bin /usr/lib/go/bin &&
+
+# Headers for C modules
+install -Dm644 src/runtime/runtime.h "/usr/lib/go/src/runtime/runtime.h" &&
+install -Dm644 src/runtime/cgocall.h "/usr/lib/go/src/runtime/cgocall.h" &&
+
+# For gox
+install -Dm755 src/make.bash "/usr/lib/go/src/make.bash" &&
+install -Dm755 src/run.bash "/usr/lib/go/src/run.bash" &&
+cp -r misc/ "/usr/lib/go/" &&
+
+# For godoc
+install -Dm644 favicon.ico "/usr/lib/go/favicon.ico"
--- a/compilers/go/DEPENDS
+++ b/compilers/go/DEPENDS
@@ -1,4 +1,10 @@
 depends perl
 depends gawk
 depends inetutils
-depends mercurial
+
+optional_depends git        "" "" "for git repositories support"
+optional_depends mercurial  "" "" "for mercurial repositories support"
+optional_depends subversion "" "" "for subversion repositories support"
+optional_depends bzr        "" "" "for bzr repositories support"
+
+
--- a/compilers/go/DETAILS
+++ b/compilers/go/DETAILS
@@ -1,12 +1,12 @@
           MODULE=go
-         VERSION=1.3.3
+         VERSION=1.4
           SOURCE=${MODULE}${VERSION}.src.tar.gz
       SOURCE_URL=https://storage.googleapis.com/golang
-      SOURCE_VFY=sha256:1bb6fde89cfe8b9756a875af55d994cce0994861227b5dc0f268c143d91cd5ff
+      SOURCE_VFY=sha256:3ae9f67e45a5ca7004b28808da8b1367d328a371d641ddbe636c0fb0ae0ffdae
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
         WEB_SITE=http://golang.org/
          ENTERED=20140606
-         UPDATED=20141004
+         UPDATED=20141215
            SHORT="Compiler and tools for the Go programming language from Google"
 
 cat <<EOF
--- /dev/null
+++ b/compilers/go/POST_INSTALL
@@ -0,0 +1 @@
+rm -fR /usr/src/src




More information about the Lunar-commits mailing list