elementary 922 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #!/usr/bin/env bash
  2. source "$rvm_scripts_path/functions/requirements/debian"
  3. requirements_elementary_define_libgmp()
  4. {
  5. requirements_check libgmp-dev
  6. }
  7. requirements_elementary_define_libreadline()
  8. {
  9. requirements_check libreadline6-dev
  10. }
  11. requirements_elementary_define_libssl()
  12. {
  13. case "$1" in
  14. (ruby-2.3*|ruby-2.2*|ruby-2.1*|ruby-2.0*|ruby-1.9*)
  15. if
  16. __rvm_version_compare ${_system_version} -ge 5
  17. then
  18. undesired_check libssl-dev
  19. requirements_check libssl1.0-dev
  20. else
  21. requirements_check libssl-dev
  22. fi
  23. ;;
  24. (*)
  25. requirements_check libssl-dev
  26. ;;
  27. esac
  28. }
  29. requirements_elementary_define_clang_llvm()
  30. {
  31. requirements_check clang-3.6 llvm-3.6 llvm-3.6-dev
  32. rvm_configure_flags+=( --cc=clang-3.6 --cxx=clang++-3.6 --llvm-config=llvm-config-3.6)
  33. }
  34. requirements_elementary_define()
  35. {
  36. __lib_type=debian
  37. requirements_debian_define "$@"
  38. }