mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-cpp/cli11: initial import
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
dev-cpp/cli11/Manifest
Normal file
1
dev-cpp/cli11/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST cli11-1.9.1.tar.gz 262925 BLAKE2B 30c0c35827992ca8f1527ace9dda076a89666f1598be423bead85fff2006ca82f59937348b914a9b058878a7e68467501226c704b4ecaeefe09508657f346a14 SHA512 bcccfe88695ceddd73d87738e1d5ed4372f5cf43e3866e88053dd486ea8973804022029775de781e1dbdd2e1566b77e072de00202033983217276954a07c5718
|
||||||
36
dev-cpp/cli11/cli11-1.9.1.ebuild
Normal file
36
dev-cpp/cli11/cli11-1.9.1.ebuild
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DOCS_BUILDER="doxygen"
|
||||||
|
DOCS_CONFIG_NAME="docs/Doxyfile"
|
||||||
|
inherit cmake docs
|
||||||
|
|
||||||
|
MY_PN="CLI11"
|
||||||
|
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/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCLI11_BUILD_DOCS=OFF
|
||||||
|
-DCLI11_BUILD_TESTS=OFF
|
||||||
|
-DCLI11_BUILD_EXAMPLES=$(usex test)
|
||||||
|
-DCLI11_BUILD_EXAMPLES_JSON=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake_src_compile
|
||||||
|
docs_compile
|
||||||
|
}
|
||||||
11
dev-cpp/cli11/metadata.xml
Normal file
11
dev-cpp/cli11/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://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>
|
||||||
Reference in New Issue
Block a user