diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /dev-libs/keystone/keystone-0.9.1.ebuild | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'dev-libs/keystone/keystone-0.9.1.ebuild')
-rw-r--r-- | dev-libs/keystone/keystone-0.9.1.ebuild | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/dev-libs/keystone/keystone-0.9.1.ebuild b/dev-libs/keystone/keystone-0.9.1.ebuild deleted file mode 100644 index 862e1fa15569..000000000000 --- a/dev-libs/keystone/keystone-0.9.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DISTUTILS_OPTIONAL=1 -CMAKE_MIN_VERSION=3.8.7 -PYTHON_COMPAT=( python3_6 ) - -inherit cmake-utils distutils-r1 llvm - -DESCRIPTION="assembly/assembler framework + bindings" -HOMEPAGE="https://www.keystone-engine.org/" - -if [[ ${PV} == 9999* ]]; then - EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git" - inherit git-r3 - KEYWORDS="" -else - SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P/-rc/_rc}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" - -# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm -ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 ) -ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} - -IUSE="python ${ALL_LLVM_TARGETS[*]}" -RDEPEND="${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - || ( ${ALL_LLVM_TARGETS[*]} ) -" - -S=${WORKDIR}/${P/_rc/-rc} - -CMAKE_BUILD_TYPE=RelWithDebInfo - -llvm_check_deps() { - has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]" -} - -wrap_python() { - if use python; then - pushd bindings/python >/dev/null || die - distutils-r1_${EBUILD_PHASE_FUNC} "$@" - popd >/dev/null || die - fi -} - -src_prepare() { - default - cmake-utils_src_prepare - wrap_python -} - -src_configure() { - local mycmakeargs=( - -DLLVM_LIBDIR_SUFFIX=${libdir#lib} - - -DBUILD_SHARED_LIBS=ON - -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" - -DLLVM_HOST_TRIPLE="${CHOST}" - ) - - cmake-utils_src_configure - wrap_python -} - -src_compile() { - cmake-utils_src_compile - wrap_python -} - -src_install() { - cmake-utils_src_install - wrap_python -} |