wok diff go-sources/receipt @ rev 19984

Up tazusb (199)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 28 09:22:54 2017 +0200 (2017-06-28)
parents c5260802b1a2
children 73f36875e5a7
line diff
     1.1 --- a/go-sources/receipt	Tue Mar 04 13:26:45 2014 +0100
     1.2 +++ b/go-sources/receipt	Wed Jun 28 09:22:54 2017 +0200
     1.3 @@ -17,19 +17,20 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 +	# misc
     1.8 +	mkdir -p $fs/usr/lib/go/misc
     1.9 +	for dir in arm cgo goplay swig; do
    1.10 +		cp -a $src/misc/$dir $fs/usr/lib/go/misc
    1.11 +	done
    1.12 +
    1.13 +	# test
    1.14 +	cp -a $src/test/ $fs/usr/lib/go
    1.15 +
    1.16 +	# doc
    1.17 +	cp -a $src/doc/ $fs/usr/lib/go
    1.18 +
    1.19 +	# tools
    1.20  	mkdir -p $fs/usr/lib/go/src
    1.21 -	cp -a $src/src/pkg $fs/usr/lib/go/src
    1.22 -	cp -a $src/src/cmd $fs/usr/lib/go/src
    1.23 -	cp -a $src/src/lib9 $fs/usr/lib/go/src
    1.24  	cp -a $src/src/*.bash $fs/usr/lib/go/src
    1.25 -	cp -a $src/test $fs/usr/lib/go
    1.26 -
    1.27 -	mkdir -p $fs/usr/lib/misc
    1.28 -	cp -a $src/misc/cgo $fs/usr/lib/go/misc
    1.29 +	cp -a $src/src/*.rc $fs/usr/lib/go/src
    1.30  }
    1.31 -
    1.32 -post_install()
    1.33 -{
    1.34 -	cd /tmp
    1.35 -   /bin/bash /usr/lib/go/src/run.bash --no-rebuild
    1.36 -}