summaryrefslogtreecommitdiff
blob: 3cbfc4e21fa1c2d5c1aa5accf20bfcdc5cf06839 (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="unit test and mocking framework for C and C++"
HOMEPAGE="https://cgreen-devs.github.io/"
SRC_URI="https://github.com/cgreen-devs/cgreen/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	sys-libs/glibc:=
"
RDEPEND="${DEPEND}"
BDEPEND=""

PATCHES=(
	#Patch to fix git directory detection see https://github.com/cgreen-devs/cgreen/issues/234
	"${FILESDIR}/${P}-cmake-git.patch"
)