From b594445f39d99066071d80fc8efeba5c8f72cc35 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 May 2024 00:00:45 +0100 Subject: gentoo auto-resync : 05:05:2024 - 00:00:45 --- dev-cpp/cli11/Manifest | 2 ++ dev-cpp/cli11/cli11-2.4.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-cpp/cli11/cli11-2.4.2.ebuild (limited to 'dev-cpp/cli11') diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest index f37351c38107..ff03a0bc6946 100644 --- a/dev-cpp/cli11/Manifest +++ b/dev-cpp/cli11/Manifest @@ -1,3 +1,5 @@ DIST cli11-2.4.1.tar.gz 339023 BLAKE2B 4db4bacc30ae5526135fe354e4f707f6858cb42b0662daafdde23cf397701c5185794d72794d920ef8f66ce846aafa718ac24fb567b04144d5b15905ed4badd7 SHA512 965290d09977672d3bc3c57ca4b89a88c2c09461da6e866b18217d702d4d5a0977588fcb8fef1a3c3804e61ad80d276029f47469cc83dbfdc7021ee35f6b7269 +DIST cli11-2.4.2.tar.gz 343478 BLAKE2B b1a71bb9495ca86eac62af800919dd78899bd972cfc05035659a3c0a8d07f70ccdc076d18756ba20ddffe31c9dc346e4579474284e601497fcac6c6866e536de SHA512 fdb61c430f5b99a9495fda7f94bfc8d0fb5360c99beeccbcb3b8918713579aac97fa0dcbce296065d9043f141a538c505919c9810fd1d192661e8b48b6a2637a EBUILD cli11-2.4.1.ebuild 973 BLAKE2B 60966184046c55546e34c131baa074deb7ce54b65a0bd3412cca1d46ccaf2522407aa6497b6a18017cb07ef46efeaf041a4d14370468682543182d7949414976 SHA512 f56249e97ff2d56406e0646633eaa5bbde75f86e1e61a1c2272bc93301169edc64bed49352f372c16360d8baeb2d28ccab27205a46582f697e6426b5f7591e99 +EBUILD cli11-2.4.2.ebuild 974 BLAKE2B c7a469986392430c81caf1685ff532d8d0b4b1e5ab4d471e7a853138ab1dbcababf5026c5713c95014273ee25bc252e20c4cd4eee10707c4665f3b0f4f6b36a1 SHA512 6d2868d1ea7826763aa72376ddcafe4f6d5ec175262653cb264acc9ac49ba2c8bb4bb9b4096f7d6dc61af789f5f70bdbc687ab2dfefac0370f6085a51fee39c2 MISC metadata.xml 325 BLAKE2B 499d638738bfde90cf6d60e2de19e570c6da09897cfeabfe30fcc98971ef59bed98936dd0ef7cd2fa3a497131f8abd169777e514835d39a95d8c9405ec16411a SHA512 7cc05ee6e3544f0e475c8afe3a81ab47e93ec4e6d88bc635014ae4bc186eb965cee34675187706723d124292d138dfb22322d5328a4dd9ff185d069d2b605d2d diff --git a/dev-cpp/cli11/cli11-2.4.2.ebuild b/dev-cpp/cli11/cli11-2.4.2.ebuild new file mode 100644 index 000000000000..174cace30411 --- /dev/null +++ b/dev-cpp/cli11/cli11-2.4.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 2023-2024 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 ~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 "${BUILD_DIR}"/docs/html +} -- cgit v1.2.3