12345678910111213141516171819202122232425262728293031323334353637383940 |
- [paket]
- tanim = Go Programlama Dili
- paketci = milisarge
- grup = geliştirme
- url = http://golang.org/
- [gerek]
- derleme =
- calisma =
- [kaynak]
- 1 = https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz \
- 2 = https://storage.googleapis.com/golang/${isim}${surum}.src.tar.gz
- [sha256]
- 1 = ce3140662f45356eb78bc16a88fc7cfb29fb00e18d7c632608245b789b2086d2
- 2 = 37ca14287a23cb8ba2ac3f5c3dd8adbc1f7a54b9701a57824bf19a0b271f83ea
- [derle]
- bayrak = 0
- betik = export GOROOT_BOOTSTRAP=${SRC}/go1.4
- betik = export GOROOT_FINAL=/usr/lib/go
- betik = export GOOS=linux
- betik = export GOARCH=amd64
- betik = export GOCACHE=off
- betik = cd go/src
- betik = bash make.bash --no-clean
- [pakur]
- strip = yok
- betik = rm -rf $SRC/go/pkg/obj/go-build/*
- betik = install -d $PKG/usr/lib
- betik = cp -r $SRC/go $PKG/usr/lib/
- betik = install -d $PKG/usr/bin
- betik = ln -s /usr/lib/go/bin/go $PKG/usr/bin/
- betik = ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/
- betik = find $PKG \( -name "*.a" -o -name "*.go" \) -exec chmod 644 '{}' \;
- betik = find $PKG \( -name "README*" -o -name "AUTHORS" -o -name "TODO" \) -delete
- betik = rm $PKG/usr/lib/go/src/*.bat
|