Fix Yara installation with r2pm
This commit is contained in:
parent
df6640c188
commit
33fd28192f
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue