summaryrefslogtreecommitdiff
path: root/dev-cpp/expected/expected-1.3.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/expected/expected-1.3.1.ebuild')
-rw-r--r--dev-cpp/expected/expected-1.3.1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-cpp/expected/expected-1.3.1.ebuild b/dev-cpp/expected/expected-1.3.1.ebuild
new file mode 100644
index 000000000000..78843c2a55dc
--- /dev/null
+++ b/dev-cpp/expected/expected-1.3.1.ebuild
@@ -0,0 +1,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="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+RESTRICT="test"
+
+src_configure() {
+ local mycmakeargs=(
+ -Wno-dev
+ -DEXPECTED_BUILD_TESTS=OFF
+ )
+
+ cmake_src_configure
+}