wok-next rev 21692

updated go (1.10.2 -> 1.14.4)
author Hans-G?nter Theisgen
date Tue Jun 30 15:09:01 2020 +0100 (2020-06-30)
parents b916a2fbb9f0
children 32129884a108
files glusterfs/receipt go/receipt
line diff
     1.1 --- a/glusterfs/receipt	Mon Jun 29 17:48:50 2020 +0100
     1.2 +++ b/glusterfs/receipt	Tue Jun 30 15:09:01 2020 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4  
     1.5  BUILD_DEPENDS="acl-dev curl-dev elfutils flex libaio-dev libtirpc-dev liburcu-dev
     1.6  	libxml2-dev mpc-library openssl-dev python-dev readline-dev rpcsvc-proto 
     1.7 -	sqlite3-dev"
     1.8 +	sqlite3-dev util-linux-uuid-dev"
     1.9  SPLIT="$PACKAGE-dev"
    1.10  
    1.11  compile_rules()
     2.1 --- a/go/receipt	Mon Jun 29 17:48:50 2020 +0100
     2.2 +++ b/go/receipt	Tue Jun 30 15:09:01 2020 +0100
     2.3 @@ -1,20 +1,21 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="go"
     2.7 -VERSION="1.10.2"
     2.8 +VERSION="1.14.4"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The Go programming language"
    2.11 -MAINTAINER="devel@slitaz.org"
    2.12 +MAINTAINER="maintainer@slitaz.org"
    2.13  LICENSE="BSD"
    2.14  WEB_SITE="https://golang.org/"
    2.15  
    2.16  TARBALL="$PACKAGE$VERSION.src.tar.gz"
    2.17 -WGET_URL="https://dl.google.com/go/$TARBALL"
    2.18 +WGET_URL="https://golang.org/dl/$TARBALL"
    2.19  
    2.20 -BUILD_DEPENDS="go-bin bash bison make ed"
    2.21 +BUILD_DEPENDS="bash bison ed go-bin make"
    2.22  SPLIT="$PACKAGE-sources emacs-pkg-go-mode $PACKAGE"
    2.23  
    2.24 -compile_rules() {
    2.25 +compile_rules()
    2.26 +{
    2.27  	cd $src/src
    2.28  
    2.29  	# Setting up environnment before building go.
    2.30 @@ -50,42 +51,45 @@
    2.31  	# Installation
    2.32  	mkdir -p $install$GOROOT_FINAL/src
    2.33  	# bin
    2.34 -	cp -a $src/bin $install/usr
    2.35 +	cp -a $src/bin		$install/usr
    2.36  	# go tree
    2.37 -	cp -a $src/pkg $install$GOROOT_FINAL
    2.38 +	cp -a $src/pkg		$install$GOROOT_FINAL
    2.39  	# lib
    2.40 -	cp -a $src/lib $install$GOROOT_FINAL
    2.41 +	cp -a $src/lib		$install$GOROOT_FINAL
    2.42  	# include
    2.43 -	cp -a $src/include $install$GOROOT_FINAL
    2.44 +	cp -a $src/include	$install$GOROOT_FINAL
    2.45  	# pkg
    2.46 -	cp -a $src/src/pkg  $install$GOROOT_FINAL/src
    2.47 -	cp -a $src/src/cmd  $install$GOROOT_FINAL/src
    2.48 -	cp -a $src/src/lib9 $install$GOROOT_FINAL/src
    2.49 +	cp -a $src/src/pkg	$install$GOROOT_FINAL/src
    2.50 +	cp -a $src/src/cmd	$install$GOROOT_FINAL/src
    2.51 +	cp -a $src/src/lib9	$install$GOROOT_FINAL/src
    2.52  
    2.53  	mkdir -p $install/usr/share/emacs/site-lisp/site-start.d
    2.54 -	cp -a $stuff/80-go-init.el $install/usr/share/emacs/site-lisp/site-start.d
    2.55 +	cp -a $stuff/80-go-init.el \
    2.56 +				$install/usr/share/emacs/site-lisp/site-start.d
    2.57  	mkdir -p $install/usr/share/emacs/site-lisp/go-mode
    2.58  	cp -a $src/misc/emacs/* $install/usr/share/emacs/site-lisp/go-mode
    2.59  
    2.60  	# misc
    2.61  	mkdir -p $install$GOROOT_FINAL/misc
    2.62 -	for dir in arm cgo goplay swig; do
    2.63 -		cp -a $src/misc/$dir $install$GOROOT_FINAL/misc
    2.64 -	done
    2.65 +	for dir in arm cgo goplay swig
    2.66 +	  do
    2.67 +		cp -a $src/misc/$dir	$install$GOROOT_FINAL/misc
    2.68 +	  done
    2.69  
    2.70  	# test
    2.71 -	cp -a $src/test/ $install$GOROOT_FINAL
    2.72 +	cp -a $src/test		$install$GOROOT_FINAL
    2.73  
    2.74  	# doc
    2.75 -	cp -a $src/doc/ $install$GOROOT_FINAL
    2.76 +	cp -a $src/doc		$install$GOROOT_FINAL
    2.77  
    2.78  	# tools
    2.79  	mkdir -p $install$GOROOT_FINAL/src
    2.80 -	cp -a $src/src/*.bash $install$GOROOT_FINAL/src
    2.81 -	cp -a $src/src/*.rc   $install$GOROOT_FINAL/src
    2.82 +	cp -a $src/src/*.bash	$install$GOROOT_FINAL/src
    2.83 +	cp -a $src/src/*.rc	$install$GOROOT_FINAL/src
    2.84  }
    2.85  
    2.86 -genpkg_rules() {
    2.87 +genpkg_rules()
    2.88 +{
    2.89  	case $PACKAGE in
    2.90  		go-sources)
    2.91  			copy /usr/lib/go/misc/ \
    2.92 @@ -109,10 +113,12 @@
    2.93  	esac
    2.94  }
    2.95  
    2.96 -post_install_emacs_pkg_go_mode() {
    2.97 +post_install_emacs_pkg_go_mode()
    2.98 +{
    2.99  	chroot "$1/" tazpkg reconfigure emacs
   2.100  }
   2.101  
   2.102 -post_remove_emacs_pkg_go_mode() {
   2.103 +post_remove_emacs_pkg_go_mode()
   2.104 +{
   2.105  	chroot "$1/" tazpkg reconfigure emacs
   2.106  }