Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Ask for the administrator password upfront.
- sudo -v
- # Keep-alive: update existing `sudo` time stamp until the script has finished.
- while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
- xcode-select --install
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install automake autoconf libtool pkg-config libplist openssl libzip cmake
- cd /usr/local
- sudo mkdir ssl
- sudo chmod 777 /usr/local/ssl
- cd
- git clone https://github.com/openssl/openssl.git
- cd openssl
- ./config
- make
- sudo make install
- cd
- git clone https://github.com/nih-at/libzip
- cd libzip
- mkdir build
- cd build
- cmake ..
- make
- make test
- sudo make install
- cd
- git clone https://github.com/libimobiledevice/libplist
- cd libplist
- ./autogen.sh
- make
- sudo make install
- cd
- git clone https://github.com/libimobiledevice/libimobiledevice
- cd libimobiledevice
- ./autogen.sh
- make
- sudo make install
- cd
- git clone https://github.com/libimobiledevice/libirecovery
- cd libirecovery
- ./autogen.sh
- make
- sudo make install
- cd
- git clone https://github.com/libimobiledevice/libusbmuxd
- cd libusbmuxd
- ./autogen.sh
- make
- sudo make install
- cd
- git clone https://github.com/libimobiledevice/usbmuxd
- cd usbmuxd
- ./autogen.sh
- make
- sudo make install
- cd
- git clone https://github.com/tihmstar/libcrippy && cd ./libcrippy && bash autogen.sh && sudo make install
- cd
- git clone https://github.com/tihmstar/libfragmentzip && cd ./libfragmentzip && bash autogen.sh && sudo make install
- cd
- git clone https://github.com/tihmstar/libpartialzip && cd ./libpartialzip && bash autogen.sh && sudo make install
- cd
- brew install libpng
- brew install curl
- git clone https://github.com/curl/curl
- cd curl
- mkdir build
- cd build
- cmake ..
- make
- make test
- sudo make install
- cd
- ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
- ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
- ln -s /usr/local/Cellar/openssl/1.0.2j/bin/openssl openssl
Advertisement
Add Comment
Please, Sign In to add comment