mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 16:59:08 +00:00
23 lines
491 B
Bash
Executable File
23 lines
491 B
Bash
Executable File
#!/bin/sh
|
|
PREFIX=/usr
|
|
MAKE=make
|
|
SUDO=sudo
|
|
|
|
# https://raw.githubusercontent.com/sroberts/peid4yara/master/peid.yar
|
|
#if [ ! -f shlr/yara/peid.yar ]; then
|
|
#(
|
|
# cd shlr/yara
|
|
# wget -c http://radare.org/get/peid.yar.gz
|
|
# gunzip peid.yar.gz
|
|
#)
|
|
#fi
|
|
|
|
rm -rf yara
|
|
git clone https://github.com/plusvic/yara.git || exit 1
|
|
cd yara || exit 1
|
|
git reset --hard 880c268ce0b98046a476784c412d9e91573c8a08
|
|
sh bootstrap.sh
|
|
./configure --prefix=${PREFIX} || exit 1
|
|
${MAKE} || exit 1
|
|
exec ${SUDO} ${MAKE} install
|