Install this version:
emerge -a =dev-cpp/cmrc-2.0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/cmrc-2.0.1
Or alternatively:
emerge --autounmask-write -a =dev-cpp/cmrc-2.0.1
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A Resource Compiler in a Single CMake Script"
HOMEPAGE="https://github.com/vector-of-bool/cmrc"
SRC_URI="https://raw.githubusercontent.com/vector-of-bool/cmrc/${PV}/CMakeRC.cmake -> ${P}.cmake"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
src_install() {
local cmakedir="/usr/share/cmake/CMakeRC"
insinto "${cmakedir}"
newins "${DISTDIR}/${P}.cmake" CMakeRC.cmake
newins - CMakeRCConfig.cmake <<-EOF
include("\${CMAKE_CURRENT_LIST_DIR}/CMakeRC.cmake")
EOF
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cmrc-2.0.1.cmake | 20482 bytes | https://raw.githubusercontent.com/vector-of-bool/cmrc/2.0.1/CMakeRC.cmake |