12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #!/usr/bin/env bash
- source "$rvm_scripts_path/functions/requirements/debian"
- requirements_elementary_define_libgmp()
- {
- requirements_check libgmp-dev
- }
- requirements_elementary_define_libreadline()
- {
- requirements_check libreadline6-dev
- }
- requirements_elementary_define_libssl()
- {
- case "$1" in
- (ruby-2.3*|ruby-2.2*|ruby-2.1*|ruby-2.0*|ruby-1.9*)
- if
- __rvm_version_compare ${_system_version} -ge 5
- then
- undesired_check libssl-dev
- requirements_check libssl1.0-dev
- else
- requirements_check libssl-dev
- fi
- ;;
- (*)
- requirements_check libssl-dev
- ;;
- esac
- }
- requirements_elementary_define_clang_llvm()
- {
- requirements_check clang-3.6 llvm-3.6 llvm-3.6-dev
- rvm_configure_flags+=( --cc=clang-3.6 --cxx=clang++-3.6 --llvm-config=llvm-config-3.6)
- }
- requirements_elementary_define()
- {
- __lib_type=debian
- requirements_debian_define "$@"
- }
|