summaryrefslogtreecommitdiff
path: root/dev-cpp/clipp/clipp-1.2.4_pre20190430.ebuild
blob: 73aa0d1eef282d49feaa7b5b339bb8c838fe3396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
COMMIT=2c32b2f1f7cc530b1ec1f62c92f698643bb368db

inherit cmake

DESCRIPTION="Easy to use, powerful & expressive command line argument parsing for modern C++"
HOMEPAGE="https://github.com/muellan/clipp"
SRC_URI="https://github.com/muellan/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}"/${PN}-${COMMIT}

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DBUILD_TESTING="$(usex test)"
	)
	cmake_src_configure
}