# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake CommitId=38f525b838b05dd5c266d34b16cb554cf1fe37c5 DESCRIPTION="C++ template library for floating point operations" HOMEPAGE="https://shibatch.github.io/tlfloat-doxygen/" SRC_URI="https://github.com/shibatch/${PN}/archive/${CommitId}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/${PN}-${CommitId} LICENSE="Boost-1.0" SLOT="0" KEYWORDS="~amd64" IUSE="test" RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}"/${P}-fPIC.patch ) src_configure() { local mycmakeargs=( -DBUILD_TESTS=$(usex test) ) cmake_src_configure }