summaryrefslogtreecommitdiff
path: root/dev-libs/cgreen/cgreen-1.3.0.ebuild
blob: b4427d60ba654bf2e87ab08a185cc59569c2fcf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2020-2024 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}"

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