Posted to tcl by aspect at Thu Feb 28 00:45:59 GMT 2019view raw

  1. #!/bin/sh
  2.  
  3. set -uex
  4.  
  5.  
  6. ENV="$(realpath ../ENV)"
  7.  
  8. mkdir "$ENV"
  9.  
  10. mkdir "$ENV/bin"
  11.  
  12. curl https://www.fossil-scm.org/index.html/uv/fossil-linux-x64-2.8.tar.gz | bsdtar -C "$ENV/bin" -xvf -
  13. curl https://chiselapp.com/user/aspect/repository/sdx/uv/sdx-20110317.kit > "$ENV/bin/sdx"
  14. curl https://www.rkeene.org/devel/kitcreator/kitbuild/nightly/tclkit-8.6.9-linux-amd64-notk > "$ENV/bin/tclkit"
  15. chmod +x "$ENV"/bin/*
  16.  
  17. PATH="$PATH:$ENV/bin"
  18. export PATH
  19.  
  20. mkdir "$ENV/src"
  21. cd "$ENV/src"
  22. fossil clone http://teaparty.rkeene.org/fossil/index teaparty.fossil
  23. mkdir teaparty
  24. cd teaparty
  25. fossil open ../teaparty.fossil
  26. make client/teapot-client.kit
  27. cp client/teapot-client.kit "$ENV/bin/teapot-client"
  28.  
  29. chmod +x "$ENV/bin/teapot-client"