12345678910111213141516171819202122232425262728293031323334353637383940 |
- #!/usr/bin/env bash
- source "$rvm_scripts_path/functions/requirements/debian"
- requirements_kali_define_libgmp()
- {
- requirements_check libgmp-dev
- }
- requirements_kali_define_libreadline()
- {
- requirements_check libreadline6-dev
- }
- requirements_kali_define_libssl()
- {
- case "$1" in
- (ruby-2.3*|ruby-2.2*|ruby-2.1*|ruby-2.0*|ruby-1.9*)
- undesired_check libssl-dev libssl1.1
- requirements_check libssl1.0-dev libssl1.0.2
- ;;
- (*)
- undesired_check libssl1.0-dev libssl1.0.2
- requirements_check libssl-dev libssl1.1
- ;;
- esac
- }
- requirements_kali_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_kali_define()
- {
- __lib_type=debian
- requirements_debian_define "$@"
- }
|