# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake DESCRIPTION="Library that provides ROCm release version and install path information" HOMEPAGE="https://github.com/ROCm/rocm-systems/tree/develop/projects/rocm-core" # ROCm 10 uses therock tags after the 7.2.4 rocm-* line, while retaining # per-component assets. It renumbers the former 7.13/7.14 line. # verified 2026-08-28 SRC_URI="https://github.com/ROCm/rocm-systems/releases/download/therock-$(ver_cut 1-2)/${PN}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/rocm-core" LICENSE="MIT" SLOT="0/$(ver_cut 1-2)" KEYWORDS="~amd64" src_configure() { local mycmakeargs=( -DROCM_VERSION=${PV} ) cmake_src_configure } src_install() { cmake_src_install # Remove the duplicate version file from nonstandard /usr/.info. rm "${ED}"/usr/.info/version || die } RDEPEND="!