Clone of Bael'Zharon's Respite @ https://github.com/boardwalk/bzr

install-deps.sh 629B

12345678910111213141516171819202122232425262728293031
  1. #!/bin/bash
  2. set -e -x
  3. # install glm
  4. cd
  5. curl -L -o glm-0.9.6.1.zip "http://sourceforge.net/projects/ogl-math/files/glm-0.9.6.1/glm-0.9.6.1.zip/download"
  6. unzip glm-0.9.6.1.zip
  7. cd glm
  8. mkdir build && cd build
  9. cmake ..
  10. make
  11. sudo make install
  12. # install jansson
  13. cd
  14. curl -L -o jansson-2.7.tar.bz2 "http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2"
  15. tar xf jansson-2.7.tar.bz2
  16. cd jansson-2.7
  17. ./configure --prefix=/usr
  18. make
  19. sudo make install
  20. # install sdl2
  21. cd
  22. curl -L -o SDL2-2.0.3.tar.gz "https://www.libsdl.org/release/SDL2-2.0.3.tar.gz"
  23. tar xf SDL2-2.0.3.tar.gz
  24. cd SDL2-2.0.3
  25. ./configure --prefix=/usr
  26. make
  27. sudo make install