gentoo/dev-cpp/expected-lite/expected-lite-0.9.0.ebuild
Esteve Varela Colominas c4c5bba1c5
dev-cpp/expected-lite: Bump to 0.9.0
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43916
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-03 01:30:08 +01:00

26 lines
603 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Expected objects in C++11 and later in a single-file header-only library"
HOMEPAGE="https://github.com/martinmoene/expected-lite"
SRC_URI="https://github.com/martinmoene/expected-lite/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DEXPECTED_LITE_OPT_BUILD_TESTS=$(usex test)
)
cmake_src_configure
}