deepin 899 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/usr/bin/env bash
  2. source "$rvm_scripts_path/functions/requirements/debian"
  3. requirements_deepin_define_libgmp()
  4. {
  5. requirements_check libgmp-dev
  6. }
  7. requirements_deepin_define_libreadline()
  8. {
  9. requirements_check libreadline-dev
  10. }
  11. requirements_deepin_define_libssl()
  12. {
  13. case "$1" in
  14. (ruby-2.3*|ruby-2.2*|ruby-2.1*|ruby-2.0*|ruby-1.9*)
  15. # legacy libssl-dev required by older version of ruby has been renamed to libssl1.0-dev
  16. undesired_check libssl-dev
  17. requirements_check libssl1.0-dev
  18. ;;
  19. (*)
  20. undesired_check libssl1.0-dev
  21. requirements_check libssl-dev
  22. ;;
  23. esac
  24. }
  25. requirements_deepin_define_clang_llvm()
  26. {
  27. requirements_check clang-3.6 llvm-3.6 llvm-3.6-dev
  28. rvm_configure_flags+=( --cc=clang-3.6 --cxx=clang++-3.6 --llvm-config=llvm-config-3.6)
  29. }
  30. requirements_deepin_define()
  31. {
  32. __lib_type=debian
  33. requirements_debian_define "$@"
  34. }