wok-6.x view go-sources/receipt @ 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 | |
children | 3a08af19a030 |
line source
1 # SliTaz package receipt.
3 PACKAGE="go-sources"
4 VERSION="1.2.1"
5 CATEGORY="development"
6 SHORT_DESC="The Go programming language - Sources files."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.golang.org"
10 WANTED="go"
11 TAGS="go"
13 DEPENDS="go"
14 BUILD_DEPENDS=""
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/lib/go/src
21 cp -a $src/src/pkg $fs/usr/lib/go/src
22 cp -a $src/src/cmd $fs/usr/lib/go/src
23 cp -a $src/src/lib9 $fs/usr/lib/go/src
24 cp -a $src/src/*.bash $fs/usr/lib/go/src
25 cp -a $src/test $fs/usr/lib/go
27 mkdir -p $fs/usr/lib/misc
28 cp -a $src/misc/cgo $fs/usr/lib/go/misc
29 }
31 post_install()
32 {
33 cd /tmp
34 /bin/bash /usr/lib/go/src/run.bash --no-rebuild
35 }