1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash cd $(dirname $0) "wget" https://github.com/aquynh/capstone/archive/3.0.5-rc2.tar.gz -o capstone.tar.gz "tar" -xvzf 3.0.5-rc2.tar.gz "rm" 3.0.5-rc2.tar.gz "cd" capstone* "make" sudo make install "cd" ..