talimat 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [paket]
  2. tanim = Go Programlama Dili
  3. paketci = milisarge
  4. grup = geliştirme
  5. url = http://golang.org/
  6. [gerek]
  7. derleme =
  8. calisma =
  9. [kaynak]
  10. 1 = https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz \
  11. 2 = https://storage.googleapis.com/golang/${isim}${surum}.src.tar.gz
  12. [sha256]
  13. 1 = ce3140662f45356eb78bc16a88fc7cfb29fb00e18d7c632608245b789b2086d2
  14. 2 = 37ca14287a23cb8ba2ac3f5c3dd8adbc1f7a54b9701a57824bf19a0b271f83ea
  15. [derle]
  16. bayrak = 0
  17. betik = export GOROOT_BOOTSTRAP=${SRC}/go1.4
  18. betik = export GOROOT_FINAL=/usr/lib/go
  19. betik = export GOOS=linux
  20. betik = export GOARCH=amd64
  21. betik = export GOCACHE=off
  22. betik = cd go/src
  23. betik = bash make.bash --no-clean
  24. [pakur]
  25. strip = yok
  26. betik = rm -rf $SRC/go/pkg/obj/go-build/*
  27. betik = install -d $PKG/usr/lib
  28. betik = cp -r $SRC/go $PKG/usr/lib/
  29. betik = install -d $PKG/usr/bin
  30. betik = ln -s /usr/lib/go/bin/go $PKG/usr/bin/
  31. betik = ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/
  32. betik = find $PKG \( -name "*.a" -o -name "*.go" \) -exec chmod 644 '{}' \;
  33. betik = find $PKG \( -name "README*" -o -name "AUTHORS" -o -name "TODO" \) -delete
  34. betik = rm $PKG/usr/lib/go/src/*.bat