mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 05:41:12 +02:00
radare2-capstone: radare2 alternative engine
This commit is contained in:
parent
6a39b2216f
commit
29dffe3e24
2 changed files with 36 additions and 0 deletions
2
dev-util/radare2-capstone/Manifest
Normal file
2
dev-util/radare2-capstone/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST radare2-capstone-2.1.tar.gz 31588 SHA256 ebaad0d53ab5da91221efd155905e4e61e39f64f3a65e136a7c47072cd2b0981 SHA512 bf6ab7e4e3ce933ed868054646071014049f49c3e9a4ca8f0a606adc10be97871892695bce9f8f9c5e91000d01d036b542206e090f8cb625df8cfa366249b2d5 WHIRLPOOL 00fc60a6e95489fb934df1ee6d9d7e8f014aeaf094e09866e3802d39290316300fdbbbc7112a87cca9e8acdadc2c03366d40f6dacd2c97a9672b2041f129d458
|
||||
EBUILD radare2-capstone-2.1.ebuild 821 SHA256 2a8a39055bbf86585639cd21db80a77bf5c8f79684d12eee03830932b05a834b SHA512 4a4c547ef46a206d250f1a9564e5b1b10c0f68e475f256fcf411350bd7c67cf1eaf181303d06a2523dc305f54d185b9fc40da8945bf46d9478c1b59bc5880da7 WHIRLPOOL 19e7b2c43ebf4b57e084d8a84ce91367407177e877f529b73f0c4a2d1272a90d12acfd1733674ea0399c0cfc7ba9f0b8163d36b4aaff3618010c3e86dd72f408
|
||||
34
dev-util/radare2-capstone/radare2-capstone-2.1.ebuild
Normal file
34
dev-util/radare2-capstone/radare2-capstone-2.1.ebuild
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: blshkv$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Plugins for r2 to use capstone as disassembler and code analysis"
|
||||
HOMEPAGE="https://github.com/radare/radare2-capstone"
|
||||
SRC_URI="https://github.com/radare/radare2-capstone/archive/cs-2.1.tar.gz -> ${P}.tar.gz"
|
||||
IUSE=""
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-util/capstone
|
||||
dev-util/radare2:="
|
||||
|
||||
S=${WORKDIR}/${PN}-cs-${PV}
|
||||
|
||||
src_install() {
|
||||
# hack copied from one of Makefiles
|
||||
R2DIR=$(r2 -hh| grep LIBR_PLUGINS|awk '{print $2}')
|
||||
mkdir -p "${D}/${R2DIR}"
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
pkg_postinstall(){
|
||||
ewarn "You might want to set a default backend in the following file:"
|
||||
ewarn "~/.config/radare2/radarerc"
|
||||
}
|
||||
Loading…
Reference in a new issue