wok-6.x rev 16046
go-sources: update receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Mar 09 17:42:58 2014 +0100 (2014-03-09) |
parents | 14aaa769338b |
children | 8d64ce80ab95 |
files | go-sources/receipt |
line diff
1.1 --- a/go-sources/receipt Sun Mar 09 17:42:33 2014 +0100 1.2 +++ b/go-sources/receipt Sun Mar 09 17:42:58 2014 +0100 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 -}