capstone: disassembly framework, initial ebuild.

This commit is contained in:
Anton Bolshakov 2013-12-22 02:40:14 +00:00
parent 3d3f26816f
commit 21178a1904
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST capstone-1.0.tgz 1635062 SHA256 3fb3512b0476d03dcd1b347b0ff6b966216bf6d0158f79374aec4aa67cd30eca SHA512 bdcc0a40f5c212c4fa280cd94af1580b49a0b64ef87db744c37856056a80987a06b2932c48ba0a88e221dead23913c83818efcd3a611debb728b565711022b13 WHIRLPOOL b39ff8e934af33fea957fbbe4ee3f697af4ef35b9065879754d1432c8eb4c27960ff50946e55d541323ba41cf10c05b50d62d5eaef8e47e52f4961eeb66e29e7
EBUILD capstone-1.0.ebuild 727 SHA256 3e6f93e3644993b6b392b54fd0c7488fee9dc0d8de63e4b7bdd08e77d1ef0a3d SHA512 1d3586b5f2b4d3117f1883e2164224b9a9252187b6fad7943a9acc62ac08c081b5ff98c6b40755c686712ff3cf7e56e16ad4013be3ad433111b5ff032c31a7c7 WHIRLPOOL 192331dc891fe64e933a50e71d1ee095a20e7aa2b5116aaca367f954695a150a89c00d2173a8d2cdb467317510c97343efdfb256ac59ddb929d9a6895075d10e

View file

@ -0,0 +1,29 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: blshkv$
EAPI=5
inherit multilib
DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
HOMEPAGE="http://www.capstone-engine.org/"
SRC_URI="http://www.capstone-engine.org/download/${PV}/${P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
#TODO: add java and python bindings
src_compile() {
#https://github.com/aquynh/capstone/issues/51
sed -e 's:$(PREFIX)/lib:$(PREFIX)/'"$(get_libdir)"':' -i Makefile
}
src_install() {
emake DESTDIR="${D}" install
dodir /usr/share/"${PN}"/
cp -R "${S}/tests" "${D}/usr/share/${PN}/" || die "Install failed!"
dodoc README
}

View file

@ -22,3 +22,5 @@
#gnuradio
~dev-util/boost-build-1.53.0
~dev-util/capstone-1.0