From d97953e6ff67978da9554e7b4601aedceb21e215 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 12 Apr 2022 21:03:09 +0000 Subject: Adding metadata --- dev-cpp/cli11/cli11-2.1.2.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 dev-cpp/cli11/cli11-2.1.2.ebuild (limited to 'dev-cpp/cli11/cli11-2.1.2.ebuild') diff --git a/dev-cpp/cli11/cli11-2.1.2.ebuild b/dev-cpp/cli11/cli11-2.1.2.ebuild new file mode 100644 index 000000000000..e83d6f91619a --- /dev/null +++ b/dev-cpp/cli11/cli11-2.1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="docs" +inherit cmake docs + +CATCH_PV=2.13.6 +DESCRIPTION="Command line parser for C++11" +HOMEPAGE="https://github.com/CLIUtils/CLI11 https://cliutils.github.io/CLI11/book/" +SRC_URI="https://github.com/CLIUtils/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/CLI11-${PV}" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~amd64 ~x86" + +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( + dev-cpp/catch:0 + dev-libs/boost +)" + +DOCS=( README.md CHANGELOG.md ) + +src_configure() { + local mycmakeargs=( + -DCLI11_BUILD_DOCS=OFF # handled by docs.eclass + -DCLI11_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + docs_compile +} -- cgit v1.3