blob: e9b8e85db3266b95d5c57d9ab9c55481ebb33ec7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A header-only, constexpr alternative to gperf for C++14 users"
HOMEPAGE="https://github.com/serge-sans-paille/frozen"
SRC_URI="https://github.com/serge-sans-paille/frozen/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-1.2.0-bump-minimum-required-CMake-version.patch"
"${FILESDIR}/${PN}-1.2.0-strip-Werror.patch"
)
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
|