summaryrefslogtreecommitdiff
path: root/dev-cpp/expected/expected-1.3.1.ebuild
blob: b8134cdb42482e794740d85aeeffc231b4d69370 (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Single header implementation of std::expected with functional-style extensions"
HOMEPAGE="https://github.com/TartanLlama/expected"

SRC_URI="https://github.com/TartanLlama/expected/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~loong ~x86"
RESTRICT="test"

src_configure() {
	local mycmakeargs=(
		-Wno-dev
		-DEXPECTED_BUILD_TESTS=OFF
	)

	cmake_src_configure
}