2015-05-07 21:40:08 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
2015-12-09 22:42:41 +00:00
|
|
|
git clone --depth 1 https://github.com/radare/radare2.git
|
2015-05-07 21:40:08 +00:00
|
|
|
cd radare2/
|
|
|
|
./configure --prefix=$(dirname $PWD)
|
|
|
|
make -j $(nproc)
|
|
|
|
make install
|
2015-05-07 22:05:30 +00:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd bin
|
|
|
|
for i in ???*
|
|
|
|
do
|
|
|
|
mv $i $i.real
|
|
|
|
cat <<END > $i
|
|
|
|
#!/bin/bash
|
2015-05-11 07:44:49 +00:00
|
|
|
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$PWD/../lib $PWD/$i.real "\$@"
|
2015-05-07 22:05:30 +00:00
|
|
|
END
|
|
|
|
chmod 755 $i
|
|
|
|
done
|
2016-11-15 14:26:57 +00:00
|
|
|
|
2016-12-30 19:29:33 +00:00
|
|
|
ctf-tools-pip install -U r2pipe
|