wok-6.x rev 16006
Add go sources (1.2.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 04 13:26:45 2014 +0100 (2014-03-04) |
parents | 6779f82e337e |
children | 4a4761329067 |
files | go-sources/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/go-sources/receipt Tue Mar 04 13:26:45 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="go-sources" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Go programming language - Sources files." 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://www.golang.org" 1.13 +WANTED="go" 1.14 +TAGS="go" 1.15 + 1.16 +DEPENDS="go" 1.17 +BUILD_DEPENDS="" 1.18 + 1.19 + 1.20 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.21 +genpkg_rules() 1.22 +{ 1.23 + mkdir -p $fs/usr/lib/go/src 1.24 + cp -a $src/src/pkg $fs/usr/lib/go/src 1.25 + cp -a $src/src/cmd $fs/usr/lib/go/src 1.26 + cp -a $src/src/lib9 $fs/usr/lib/go/src 1.27 + cp -a $src/src/*.bash $fs/usr/lib/go/src 1.28 + cp -a $src/test $fs/usr/lib/go 1.29 + 1.30 + mkdir -p $fs/usr/lib/misc 1.31 + cp -a $src/misc/cgo $fs/usr/lib/go/misc 1.32 +} 1.33 + 1.34 +post_install() 1.35 +{ 1.36 + cd /tmp 1.37 + /bin/bash /usr/lib/go/src/run.bash --no-rebuild 1.38 +}