dev-libs/oaknut: new package, add 2.0.2

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-07-10 19:36:58 +03:00
parent a3789ce04c
commit 1836af4593
3 changed files with 41 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST oaknut-2.0.2.tar.gz 86770 BLAKE2B ed3a8a6acbb5bd5557cd23718bf034e36554d72565d7176cf894471de6e9b7efb2b1c435cbe2ff62ddc7c02500eb0431d8ab29b370101e830e53e9239a2c043e SHA512 d950ed4184e476f30206a58fbfbeaf0d4dfbf3d34a73dc3b0c6815d46c84632214372c01cdae86b1f5f30c7a5e874f5a81c922befc86d1d72f3b9c74f0fac1bb

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>contact@paveloom.dev</email>
<name>Pavel Sobolev</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/merryhime/oaknut/issues</bugs-to>
<remote-id type="github">merryhime/oaknut</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Yet another AArch64 emitter"
HOMEPAGE="https://github.com/merryhime/oaknut"
SRC_URI="https://github.com/merryhime/oaknut/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? ( dev-cpp/catch )
"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}