dev-libs/dill: new package, add 2.4.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2022-06-05 20:19:01 +02:00
parent 5becc42e83
commit 3b79937d54
No known key found for this signature in database
GPG Key ID: 4E4140121372C837
3 changed files with 65 additions and 0 deletions

1
dev-libs/dill/Manifest Normal file
View File

@ -0,0 +1 @@
DIST dill-2.4.1.gh.tar.gz 209181 BLAKE2B 508dc8c59744f41acca24817f63bdb6efa15cf4674cd0cb36a2b09a80ae6ecb603ee45a54e0ede23558e982b25ddc06c0a7f2e1463e63b9decc4aa1b9dbd7c42 SHA512 8acdf80a59696ef45453dd677f13dce7aada9ac81bddab7a36f70b23644b8d507dba64576410fe87a5359d7a73df416302522823898e7b807ffb277d3363b54e

View 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
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/GTKorvo/atl/issues</bugs-to>
<remote-id type="github">GTKorvo/atl</remote-id>
</upstream>
<use>
<flag name="disassembly">Enable binutils-based disassembly</flag>
<flag name="ignore-native">Build to do emulation, regardless of architecture</flag>
<flag name="multitarget">Build all available target architectures</flag>
</use>
</pkgmetadata>