dependencies.sh 603 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. dependNix="libboost-chrono-dev \
  3. libboost-date-time-dev \
  4. libboost-filesystem-dev \
  5. libboost-program-options-dev \
  6. libboost-system-dev \
  7. libboost-thread-dev \
  8. libssl-dev \
  9. zlib1g-dev"
  10. dependWin="mingw-w64-x86_64-boost \
  11. mingw-w64-x86_64-openssl \
  12. mingw-w64-x86_64-zlib"
  13. kernel=`uname -a`
  14. case "$kernel" in
  15. *Ubuntu*|*Debian*|*astra*)
  16. sudo apt install $dependNix;;
  17. *gentoo*)
  18. sudo emerge --deep --newuse dev-libs/boost dev-libs/openssl;;
  19. *MINGW64*)
  20. pacman -S $dependWin;;
  21. *)
  22. echo "Just install libboost and libopenssl dev packages on your pc";;
  23. esac