Skip to content

Commit

Permalink
r2pm -i radeco is now installed in your home
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jan 22, 2016
1 parent 0d827a2 commit cbbcb71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions binr/r2pm/d/radeco
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ R2PM_BEGIN
R2PM_GIT "https://github.com/radare/radeco"
R2PM_DESC "[syspkg] Radare Decompiler in Rust"

BINDIR="${R2PM_PLUGDIR}/../bin"

R2PM_INSTALL() {
cargo update --verbose
cargo build --verbose
${SUDO} ln -fs `pwd`/target/debug/radeco "${R2PM_PREFIX}"/bin/radeco
ln -fs `pwd`/target/debug/radeco "${BINDIR}"/radeco
}

R2PM_UNINSTALL() {
${SUDO} rm -f "${R2PM_PREFIX}"/bin/radeco
rm -f "${BINDIR}"/radeco
}

R2PM_END

0 comments on commit cbbcb71

Please sign in to comment.