diff options
Diffstat (limited to 'dev-cpp/cli11')
| -rw-r--r-- | dev-cpp/cli11/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/cli11/cli11-2.1.2.ebuild | 42 | ||||
| -rw-r--r-- | dev-cpp/cli11/cli11-2.2.0.ebuild | 42 | ||||
| -rw-r--r-- | dev-cpp/cli11/metadata.xml | 11 |
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest new file mode 100644 index 000000000000..a7e1e99e53f8 --- /dev/null +++ b/dev-cpp/cli11/Manifest @@ -0,0 +1,2 @@ +DIST cli11-2.1.2.tar.gz 285131 BLAKE2B 7967491bb252bcbf38194440ede4d1276ee5224e122cd9a5381de95a2d9f3d6cd6527d9c787b846c9d8009a824754bbf9f73d70dd26392c0d0945158edac8b84 SHA512 3b21d015e046666d2e3df2b7cf1a6247c2daa26bf583e714dc1f0a94518785bf90993cd8530f88078b4daac02530dc517db0d5ad452d2a91521b3007f270ea55 +DIST cli11-2.2.0.tar.gz 291482 BLAKE2B 4c419ef40d0fa3cb9fefe9bbb5fbc92db4d49f4032cc963d1434b4009a7d7e31cc74662bf391c57be9832be557e825e7fa17d375f9552396ce49d6035f89fe45 SHA512 ee8994c99dd8119e612be0339252b863d6db9d85a10c15a6e60e56c6f387bbefaf479679bc85aed2cb6539aeb82b3e7543673a5b97eb04b61793b6946582241d 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 +} diff --git a/dev-cpp/cli11/cli11-2.2.0.ebuild b/dev-cpp/cli11/cli11-2.2.0.ebuild new file mode 100644 index 000000000000..e83d6f91619a --- /dev/null +++ b/dev-cpp/cli11/cli11-2.2.0.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 +} diff --git a/dev-cpp/cli11/metadata.xml b/dev-cpp/cli11/metadata.xml new file mode 100644 index 000000000000..6985eff649f9 --- /dev/null +++ b/dev-cpp/cli11/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">CLIUtils/CLI11</remote-id> + </upstream> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> +</pkgmetadata> |
