diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2020-12-05 13:14:19 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-12-05 13:39:07 -0800 |
commit | 18c4bef9907d67d644826f26ff8c8afc37506baa (patch) | |
tree | 8f42610a247da5a6e6894705408bfd4531e2a0d3 /dev-libs/cxxopts | |
parent | dev-lang/lua: fix lua-mode test in pkg_postinst for 5.4.1-r1 (diff) | |
download | gentoo-18c4bef9907d67d644826f26ff8c8afc37506baa.tar.gz gentoo-18c4bef9907d67d644826f26ff8c8afc37506baa.tar.bz2 gentoo-18c4bef9907d67d644826f26ff8c8afc37506baa.zip |
dev-libs/cxxopts: New package
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/cxxopts')
-rw-r--r-- | dev-libs/cxxopts/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cxxopts/cxxopts-2.2.1.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/cxxopts/metadata.xml | 8 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest new file mode 100644 index 000000000000..979c216d40dd --- /dev/null +++ b/dev-libs/cxxopts/Manifest @@ -0,0 +1 @@ +DIST cxxopts-2.2.1.tar.gz 89561 BLAKE2B d7fb74cff9b9381d90827fd3e3bcc7dab8b4dc100b9ff12d98ff4c73400c187c04c270d8c5a019c88e553f8c46c59eda1e5076a1aec944e7d8af5ca6de2326db SHA512 bad2928b4e06efcfa09728dd946426e4fd39715b687c0a5c7b6308dd366cb490fdd8491c9a9778242d97d5be4a383bf9d1c209efe298c6c43bb1eb9daa103f05 diff --git a/dev-libs/cxxopts/cxxopts-2.2.1.ebuild b/dev-libs/cxxopts/cxxopts-2.2.1.ebuild new file mode 100644 index 000000000000..07fc7918888b --- /dev/null +++ b/dev-libs/cxxopts/cxxopts-2.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Lightweight C++ command line option parser" +HOMEPAGE="https://github.com/jarro2783/cxxopts" +SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DOCS=( + README.md + CHANGELOG.md +) + +src_configure() { + local -a mycmakeopts=( + -DCXXOPTS_BUILD_EXAMPLES=OFF + -DCXXOPTS_BUILD_TESTS=$(usex test 'ON' 'OFF') + -DCXXOPTS_ENABLE_INSTALL=ON + ) + cmake_src_configure +} diff --git a/dev-libs/cxxopts/metadata.xml b/dev-libs/cxxopts/metadata.xml new file mode 100644 index 000000000000..cee379b15409 --- /dev/null +++ b/dev-libs/cxxopts/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> +</pkgmetadata> |