dev-cpp/CLI11 - 2.3.2 (gentoo-linux-surface-overlay)

Search

Install

Install this version:

emerge -a =dev-cpp/CLI11-2.3.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/CLI11-2.3.2

Or alternatively:

emerge --autounmask-write -a =dev-cpp/CLI11-2.3.2

Package Information

Description:
A command line parser for C++11
Homepage:
https://github.com/CLIUtils/CLI11
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.3.2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="A command line parser for C++11"
HOMEPAGE="https://github.com/CLIUtils/CLI11"
SRC_URI="https://github.com/CLIUtils/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"

RESTRICT="!test? ( test )"

DEPEND=""
RDEPEND=""

src_configure() {
	local mycmakeargs=(
		-DCLI11_BUILD_EXAMPLES=$(usex examples)
		-DCLI11_BUILD_TESTS=$(usex test)
	)
	cmake_src_configure
}

src_compile() {
	cmake_src_compile
}

src_install() {
	cmake_src_install
	if use examples; then
		dodoc -r examples
		docompress -x /usr/share/doc/${PF}/examples
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/CLI11 | euse -E <flag> -p dev-cpp/CLI11 | euse -D <flag> -p dev-cpp/CLI11

Global/Standard Flags

Inherited Eclasses