Fix Yara installation with r2pm

This commit is contained in:
Anton Kochkov 2016-05-15 22:57:47 +03:00
parent df6640c188
commit 33fd28192f
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ R2PM_DESC "[r2-core] yara2 plugin for radare2"
R2PM_INSTALL() {
cd yara/yara2
export EXT_SO=$(r2 -hh|grep LIBEXT|awk '{print $2}')
./configure --prefix="${R2PM_PREFIX}" || R2PM_FAIL "Configure"
make || R2PM_FAIL "Build"
make install || R2PM_FAIL "Install"

View File

@ -5,6 +5,7 @@ R2PM_DESC "[r2-core] yara3 plugin for radare2"
R2PM_INSTALL() {
cd yara/yara3
export EXT_SO=$(r2 -hh|grep LIBEXT|awk '{print $2}')
./configure --prefix="${R2PM_PREFIX}" || R2PM_FAIL "Configure"
make || R2PM_FAIL "Build"
make install || R2PM_FAIL "Install"