wok annotate go-sources/receipt @ rev 23915

Add 2048
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 16:53:56 2020 +0000 (2020-08-18)
parents c5260802b1a2
children 73f36875e5a7
rev   line source
domcox@16006 1 # SliTaz package receipt.
domcox@16006 2
domcox@16006 3 PACKAGE="go-sources"
domcox@16006 4 VERSION="1.2.1"
domcox@16006 5 CATEGORY="development"
domcox@16006 6 SHORT_DESC="The Go programming language - Sources files."
domcox@16006 7 MAINTAINER="domcox@slitaz.org"
domcox@16006 8 LICENSE="BSD"
domcox@16006 9 WEB_SITE="http://www.golang.org"
domcox@16006 10 WANTED="go"
domcox@16006 11 TAGS="go"
domcox@16006 12
domcox@16006 13 DEPENDS="go"
domcox@16006 14 BUILD_DEPENDS=""
domcox@16006 15
domcox@16006 16
domcox@16006 17 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@16006 18 genpkg_rules()
domcox@16006 19 {
domcox@16046 20 # misc
domcox@16046 21 mkdir -p $fs/usr/lib/go/misc
domcox@16046 22 for dir in arm cgo goplay swig; do
domcox@16046 23 cp -a $src/misc/$dir $fs/usr/lib/go/misc
domcox@16046 24 done
domcox@16046 25
domcox@16046 26 # test
domcox@16046 27 cp -a $src/test/ $fs/usr/lib/go
domcox@16046 28
domcox@16046 29 # doc
domcox@16046 30 cp -a $src/doc/ $fs/usr/lib/go
domcox@16046 31
domcox@16046 32 # tools
domcox@16006 33 mkdir -p $fs/usr/lib/go/src
domcox@16006 34 cp -a $src/src/*.bash $fs/usr/lib/go/src
domcox@16046 35 cp -a $src/src/*.rc $fs/usr/lib/go/src
domcox@16006 36 }