mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-libs/dill: new package, add 2.4.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
47
dev-libs/dill/dill-2.4.1.ebuild
Normal file
47
dev-libs/dill/dill-2.4.1.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Provides instruction-level code generation directly into memory regions"
|
||||
HOMEPAGE="https://github.com/GTkorvo/dill"
|
||||
SRC_URI="https://github.com/GTKorvo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="disassembly ignore-native multitarget test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libffi
|
||||
disassembly? ( sys-libs/binutils-libs )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/binutils
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DDILL_INSTALL_PKGCONFIG=ON
|
||||
-DDILL_INSTALL_HEADERS=ON
|
||||
-DDILL_QUIET=OFF
|
||||
-DLIBFFI_INTERNAL=OFF
|
||||
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DDILL_ENABLE_DISASSEMBLY=$(usex disassembly)
|
||||
-DDILL_IGNORE_NATIVE=$(usex ignore-native)
|
||||
-DDILL_MULTI_TARGET=$(usex multitarget)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user