mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
This commit is contained in:
parent
dd4388fcf3
commit
6d7bf39ad4
1 changed files with 25 additions and 0 deletions
25
dev-libs/capstone/capstone-4.0.1-r1.ebuild
Normal file
25
dev-libs/capstone/capstone-4.0.1-r1.ebuild
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="disassembly/disassembler framework + bindings"
|
||||
HOMEPAGE="http://www.capstone-engine.org/"
|
||||
SRC_URI="https://github.com/aquynh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/4" # libcapstone.so.4
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="python"
|
||||
|
||||
PDEPEND="python? ( >=dev-python/capstone-python-${PV} )"
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
#TODO: add java and ocaml bindings
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s|lib/|lib\${LIBSUFFIX}/|" CMakeLists.txt || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
Loading…
Reference in a new issue