Files
guru/dev-libs/oaknut/oaknut-2.0.2.ebuild
Pavel Sobolev 1836af4593 dev-libs/oaknut: new package, add 2.0.2
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
2025-07-12 16:43:56 +03:00

29 lines
526 B
Bash

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