Add PYC file format plugin

This commit is contained in:
Matthieu Tardy 2016-03-18 13:57:50 +01:00 committed by pancake
parent db00a291a5
commit b858467162

17
binr/r2pm/d/pyc Normal file
View File

@ -0,0 +1,17 @@
R2PM_BEGIN
R2PM_GIT "https://github.com/radare/radare2-extras"
R2PM_DESC "[r2-bin] PYC | Python byte-compiled file support"
R2PM_INSTALL() {
./configure --prefix="${R2PM_PREFIX}"
cd libr/bin/p
make bin_pyc.${LIBEXT}
cp -f bin_pyc.${LIBEXT} "${R2PM_PLUGDIR}"
}
R2PM_UNINSTALL() {
rm -f "${R2PM_PLUGDIR}"/*pyc*
}
R2PM_END