diff --git a/dev-libs/dill/Manifest b/dev-libs/dill/Manifest new file mode 100644 index 0000000000..90c01ee9bc --- /dev/null +++ b/dev-libs/dill/Manifest @@ -0,0 +1 @@ +DIST dill-2.4.1.gh.tar.gz 209181 BLAKE2B 508dc8c59744f41acca24817f63bdb6efa15cf4674cd0cb36a2b09a80ae6ecb603ee45a54e0ede23558e982b25ddc06c0a7f2e1463e63b9decc4aa1b9dbd7c42 SHA512 8acdf80a59696ef45453dd677f13dce7aada9ac81bddab7a36f70b23644b8d507dba64576410fe87a5359d7a73df416302522823898e7b807ffb277d3363b54e diff --git a/dev-libs/dill/dill-2.4.1.ebuild b/dev-libs/dill/dill-2.4.1.ebuild new file mode 100644 index 0000000000..384f60e2b8 --- /dev/null +++ b/dev-libs/dill/dill-2.4.1.ebuild @@ -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 +} diff --git a/dev-libs/dill/metadata.xml b/dev-libs/dill/metadata.xml new file mode 100644 index 0000000000..c83da09c82 --- /dev/null +++ b/dev-libs/dill/metadata.xml @@ -0,0 +1,17 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/GTKorvo/atl/issues + GTKorvo/atl + + + Enable binutils-based disassembly + Build to do emulation, regardless of architecture + Build all available target architectures + +