mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-18 14:24:05 +01:00
33 lines
816 B
Bash
33 lines
816 B
Bash
# 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/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/3"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
#IUSE="python"
|
|
|
|
#RDEPEND="python? ( >=dev-python/capstone-python-${PV} )"
|
|
RDEPEND=""
|
|
DEPEND=""
|
|
#TODO: add java and ocaml bindings
|
|
|
|
#S=${WORKDIR}/${PN}-${MY_PV}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${ED}" LIBDIRARCH=$(get_libdir) install
|
|
# if use !test; then
|
|
# dodir /usr/share/"${PN}"/
|
|
# cp -R "${S}"/tests "${D}/usr/share/${PN}/" || die "Install failed!"
|
|
# fi
|
|
dodoc README
|
|
}
|