2Klasic

Updated FutureDepends

Feb 9th, 2019
931
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Ask for the administrator password upfront.
  4. sudo -v
  5.  
  6. # Keep-alive: update existing `sudo` time stamp until the script has finished.
  7. while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
  8.  
  9.  
  10. xcode-select --install
  11. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  12. brew install automake autoconf libtool pkg-config libplist openssl libzip cmake
  13. cd /usr/local
  14. sudo mkdir ssl
  15. sudo chmod 777 /usr/local/ssl
  16. cd
  17. git clone https://github.com/openssl/openssl.git
  18. cd openssl
  19. ./config
  20. make
  21. sudo make install
  22. cd
  23. git clone https://github.com/nih-at/libzip
  24. cd libzip
  25. mkdir build
  26. cd build
  27. cmake ..
  28. make
  29. make test
  30. sudo make install
  31. cd
  32. git clone https://github.com/libimobiledevice/libplist
  33. cd libplist
  34. ./autogen.sh
  35. make
  36. sudo make install
  37. cd
  38. git clone https://github.com/libimobiledevice/libimobiledevice
  39. cd libimobiledevice
  40. ./autogen.sh
  41. make
  42. sudo make install
  43. cd
  44. git clone https://github.com/libimobiledevice/libirecovery
  45. cd libirecovery
  46. ./autogen.sh
  47. make
  48. sudo make install
  49. cd
  50. git clone https://github.com/libimobiledevice/libusbmuxd
  51. cd libusbmuxd
  52. ./autogen.sh
  53. make
  54. sudo make install
  55. cd
  56. git clone https://github.com/libimobiledevice/usbmuxd
  57. cd usbmuxd
  58. ./autogen.sh
  59. make
  60. sudo make install
  61. cd
  62. git clone https://github.com/tihmstar/libcrippy && cd ./libcrippy && bash autogen.sh && sudo make install
  63. cd
  64. git clone https://github.com/tihmstar/libfragmentzip && cd ./libfragmentzip && bash autogen.sh && sudo make install
  65. cd
  66. git clone https://github.com/tihmstar/libpartialzip && cd ./libpartialzip && bash autogen.sh && sudo make install
  67. cd
  68. brew install libpng
  69. brew install curl
  70. git clone https://github.com/curl/curl
  71. cd curl
  72. mkdir build
  73. cd build
  74. cmake ..
  75. make
  76. make test
  77. sudo make install
  78. cd
  79. ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
  80. ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
  81. ln -s /usr/local/Cellar/openssl/1.0.2j/bin/openssl openssl
Advertisement
Add Comment
Please, Sign In to add comment