ctf-tools/reveng/install
2016-08-24 23:21:47 +10:00

11 lines
304 B
Bash
Executable file

#!/bin/bash
curl http://jaist.dl.sourceforge.net/project/reveng/1.4.4/reveng-1.4.4.tar.gz | tar xz
cd reveng-1.4.4
sed -i -e "s/^#define BMP_BIT.*/#define BMP_BIT 64/" config.h
sed -i -e "s/^#define BMP_SUB.*/#define BMP_SUB 32/" config.h
make -j $(nproc)
cd ..
mkdir -p bin
cp reveng-1.4.4/reveng bin