Version bump, added dependencies, and fixed compile errors.
This commit is contained in:
parent
4d98b4935e
commit
7c95c3bf97
8 changed files with 139 additions and 98 deletions
41
dev-cpp/CLI11/CLI11-2.3.2.ebuild
Normal file
41
dev-cpp/CLI11/CLI11-2.3.2.ebuild
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A command line parser for C++11"
|
||||
HOMEPAGE="https://github.com/CLIUtils/CLI11"
|
||||
SRC_URI="https://github.com/CLIUtils/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCLI11_BUILD_EXAMPLES=$(usex examples)
|
||||
-DCLI11_BUILD_TESTS=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue