dev-cpp/cli11: add 2.7.2

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-08-02 11:06:16 -04:00
parent 7996762910
commit 8aa4fce91d
2 changed files with 56 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST cli11-2.6.2.tar.gz 1381808 BLAKE2B fc1693874bef7ec193cdbf5ff070fbf186c6279578f889b1487aa1800d01696cd44acbb1a0e30062db9796b796d9992aebdb4b6d0d782236bf5bdda269c4b510 SHA512 3b17c02e120d6c14246157fcfef1e55c34462d8ee3adb55e49f4b180fc2e0d52ec4371505c009839c623ccc5bf4ac16c8c94707d10b1f1cb0e916c3402d2e7a6
DIST cli11-2.7.1.tar.gz 1443189 BLAKE2B 1b1e112a553a47f4290a5d56225081a68fcd1eeb086eee04e11a4103fe2985ea62541fa6cfbbdb84a94b47d26d526400929150e4dae5afbe45d7d65985949c4d SHA512 f59ee39d2bc1e9cc8c7ef587589f22fba78a7524774319fb951e975bf5963dd6acb87107226622cae0dc629decdb5ac2fd2dfed38a449ff1056d41188dcc506d
DIST cli11-2.7.2.tar.gz 1446996 BLAKE2B 7fbeb65889b638ccd6bd73a9e66296746a529174694f159167af5964b554ae4ba5534600980226c47ebc012394f4eb8b92a3a923974ac54efc0f87085d6c8172 SHA512 437cd9d704c1b0de0516bdc8cb115befb2e7170417375a64845a2bc2385fa07948c4af724ec615d27fbc102dbe13a7117f33873d6776fe9b17f293d42fe64dd9

View File

@@ -0,0 +1,55 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Command line parser for C++11"
HOMEPAGE="https://cliutils.github.io/CLI11/book/"
SRC_URI="
https://github.com/CLIUtils/CLI11/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
S=${WORKDIR}/${PN^^}-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
DEPEND="
test? (
dev-cpp/catch:0
dev-libs/boost
)
"
BDEPEND="
doc? (
app-text/doxygen
media-gfx/graphviz
)
"
src_configure() {
local mycmakeargs=(
-DCLI11_BUILD_DOCS=$(usex doc)
-DCLI11_BUILD_EXAMPLES=no
-DCLI11_BUILD_TESTS=$(usex test)
$(usev test -DCLI11_BOOST=yes)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile all $(usev doc docs)
}
src_install() {
local DOCS=( CHANGELOG.md README.md book/{chapters,code,*.md} )
cmake_src_install
use doc && dodoc -r html
}