mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
capstone: python binding added
This commit is contained in:
parent
39e796e704
commit
8b3a57880b
4 changed files with 40 additions and 2 deletions
2
dev-util/capstone-python/Manifest
Normal file
2
dev-util/capstone-python/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST capstone-2.0.tar.gz 1745131 SHA256 f20957c53a59f736807c7bc2b0087af308d41b9ae53287f5947ceffcf98b4f21 SHA512 61aa85e74788038a07bad596b3cde2cae24043efb7704093b9163c8ee82ff3a9f9dbfa243e0b03fe0565555c9eacd2a6ccac5852a6b3168f61b19b1e46bb6c33 WHIRLPOOL 38d8c0ec80dfa313a0525070ab40bc728d649d04f7afef14e9af951354c339309d985c6cf8b5e7234a052bb7b3f0fb3ccc4644b3986875d0974d040f832dda57
|
||||
EBUILD capstone-python-2.0.ebuild 880 SHA256 d167b795a175e4cbf3410be12aec7d6e243e429c7dfc6174a7122e474f9a87d9 SHA512 e91c38cfbedd3b8aa20263d1f6809afa8f60742054caee16a316f3902cb168013f71670e2de104ef86f340d8c349bbed1a2dbe374abe06363cf83f7f8e390c6e WHIRLPOOL 034ef0f954697af3794a54f6db9161fc3276031ce1dfcd3f36291e7b5d2ea73a32e2188b56d22a754532c4a4c866246d573b3d889995a194fbc02c394acbb517
|
||||
32
dev-util/capstone-python/capstone-python-2.0.ebuild
Normal file
32
dev-util/capstone-python/capstone-python-2.0.ebuild
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: blshkv$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P=capstone-"${PV}"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
inherit eutils multilib distutils-r1
|
||||
|
||||
DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
|
||||
HOMEPAGE="http://www.capstone-engine.org/"
|
||||
SRC_URI="https://github.com/aquynh/capstone/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
#IUSE="cython"
|
||||
|
||||
#RDEPEND="cython? ( dev-python/cython )"
|
||||
#DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}/bindings/python
|
||||
|
||||
#src_prepare() {
|
||||
# #can we hack this way?
|
||||
# if use cython; then
|
||||
# cp setup_cython.py setup.py
|
||||
# sed -e 's|install:|install_default:|' -i Makefile || die "sed failed"
|
||||
# sed -e 's|install_cython:|install:|' -i Makefile || die "sed failed"
|
||||
# cp -r capstone/* pyx/
|
||||
# fi
|
||||
#}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
DIST capstone-2.0.tar.gz 1745131 SHA256 f20957c53a59f736807c7bc2b0087af308d41b9ae53287f5947ceffcf98b4f21 SHA512 61aa85e74788038a07bad596b3cde2cae24043efb7704093b9163c8ee82ff3a9f9dbfa243e0b03fe0565555c9eacd2a6ccac5852a6b3168f61b19b1e46bb6c33 WHIRLPOOL 38d8c0ec80dfa313a0525070ab40bc728d649d04f7afef14e9af951354c339309d985c6cf8b5e7234a052bb7b3f0fb3ccc4644b3986875d0974d040f832dda57
|
||||
DIST capstone-2.0_rc1.tar.gz 1741982 SHA256 f1016057340c3dac7834400949c59f93f8b5f7e4a9b52a440c304774e5dd1d4e SHA512 3b851ad06a2210cd549d629b5ead8c44d24c7aa05a6eba13f5fe5a54b8c5ca3685fb4baaddcb106ff72e80872ad88531ac7cece5ba161c6411bf51f440223380 WHIRLPOOL 61150fc373dc33581605616c32886ccc2383f889a68982d2be52dbe1d7662090cde775ec7c214d452a278112e5b0e3ecf7507036b2db76c5edf26d4d3262b801
|
||||
EBUILD capstone-2.0.ebuild 617 SHA256 1a39b32e0f1f1b394d3bbc9643267e7f4c352a59779dc783c30978c65a3ca771 SHA512 aad6118d556afcedd6cc3becae00fbf26119674ac08f1e20f5214200c9ad3c6881b45ce7aa5231e83fe9e831775f7705c341d7489a1e1b71cdf42ba028956b1f WHIRLPOOL 2bf2b578551218579f51be3d3329336fb789d3e74881af5e5d3256a24e6af723ff1710ee3fdfbe4d45783d17eb217216257c3c95620611b45a00082907b299ed
|
||||
EBUILD capstone-2.0.ebuild 695 SHA256 4733f48a4e0068f2ec52a40ac65e0b9ec6a71a05a52de289fcc72732139e3d33 SHA512 30fe87280587eba0da882a0f152be78a5bbbaff5413fd95dac29f1a51b10df177f29dbabe5777806149131ace1fddeff0fc7d29267b2221cd5ff3fe691a480e2 WHIRLPOOL 83a27592f4fcd7f4d0a1bc5e13a1f2f31ad13663c915f923cc9a5b944e6935fb4bf17d0607c7ba9284af76d0e4e51fecd4702e3ff037d24208a6098dd6ab15f3
|
||||
EBUILD capstone-2.0_rc1.ebuild 668 SHA256 b6de21b4c2b403731e0f5ea6857b4666e1e65cd2910a1227bc389d12863788b3 SHA512 ae3e06ffcbe2e6eef97207ae51f11a4afda1c696a3281d509263b9477856c51d05026d365794a85d395da6960b98cd666e0cba835c04661706799e4064bb3999 WHIRLPOOL f2c802aed44469b61c75ad9b5f9b92e744fa60c2ef714a7fb0e12714f66bf4198f301b1edef162cafcf629c48449c2bb24337c379e2d572ef92bb17e624c9192
|
||||
|
|
|
|||
|
|
@ -9,12 +9,16 @@ inherit eutils multilib
|
|||
DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
|
||||
HOMEPAGE="http://www.capstone-engine.org/"
|
||||
SRC_URI="https://github.com/aquynh/capstone/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
IUSE="python"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
#TODO: add java and python bindings
|
||||
RDEPEND="python? ( ~dev-util/capstone-python-${PV} )"
|
||||
DEPEND=""
|
||||
|
||||
#TODO: add java and ocaml bindings
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
|
|
|||
Loading…
Reference in a new issue