mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
capstone: cleanup, python binding moved to dev-python
This commit is contained in:
parent
8b3a57880b
commit
f8697ccc15
6 changed files with 5 additions and 30 deletions
|
|
@ -15,7 +15,7 @@ LICENSE="BSD"
|
|||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="python? ( ~dev-util/capstone-python-${PV} )"
|
||||
RDEPEND="python? ( ~dev-python/capstone-python-${PV} )"
|
||||
DEPEND=""
|
||||
|
||||
#TODO: add java and ocaml bindings
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: blshkv$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
|
||||
HOMEPAGE="http://www.capstone-engine.org/"
|
||||
SRC_URI="https://github.com/aquynh/capstone/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
#TODO: add java and python bindings
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodir /usr/share/"${PN}"/
|
||||
cp -R "${S}/tests" "${D}/usr/share/${PN}/" || die "Install failed!"
|
||||
dodoc README
|
||||
}
|
||||
|
|
@ -38,3 +38,6 @@
|
|||
|
||||
#sslyze
|
||||
=dev-python/nassl-0.8*
|
||||
|
||||
#capstone
|
||||
~dev-python/capstone-python-2.0
|
||||
|
|
|
|||
|
|
@ -23,4 +23,4 @@
|
|||
#gnuradio
|
||||
~dev-util/boost-build-1.53.0
|
||||
|
||||
~dev-util/capstone-1.0
|
||||
~dev-util/capstone-2.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue