diff --git a/dev-libs/oaknut/Manifest b/dev-libs/oaknut/Manifest new file mode 100644 index 0000000000..39b61ea542 --- /dev/null +++ b/dev-libs/oaknut/Manifest @@ -0,0 +1 @@ +DIST oaknut-2.0.2.tar.gz 86770 BLAKE2B ed3a8a6acbb5bd5557cd23718bf034e36554d72565d7176cf894471de6e9b7efb2b1c435cbe2ff62ddc7c02500eb0431d8ab29b370101e830e53e9239a2c043e SHA512 d950ed4184e476f30206a58fbfbeaf0d4dfbf3d34a73dc3b0c6815d46c84632214372c01cdae86b1f5f30c7a5e874f5a81c922befc86d1d72f3b9c74f0fac1bb diff --git a/dev-libs/oaknut/metadata.xml b/dev-libs/oaknut/metadata.xml new file mode 100644 index 0000000000..08fb424910 --- /dev/null +++ b/dev-libs/oaknut/metadata.xml @@ -0,0 +1,12 @@ + + + + + contact@paveloom.dev + Pavel Sobolev + + + https://github.com/merryhime/oaknut/issues + merryhime/oaknut + + diff --git a/dev-libs/oaknut/oaknut-2.0.2.ebuild b/dev-libs/oaknut/oaknut-2.0.2.ebuild new file mode 100644 index 0000000000..2117ed916f --- /dev/null +++ b/dev-libs/oaknut/oaknut-2.0.2.ebuild @@ -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 +}