blob: 0abf3ef643fbf3343fe6a697fe58aded1bbc4e31 (
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
27
28
29
30
31
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit cmake-utils git-2
DESCRIPTION="The lightweight C unit testing library"
HOMEPAGE="https://open.cryptomilk.org/projects/cmocka"
EGIT_REPO_URI="git://git.cryptomilk.org/projects/cmocka.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="doc static-libs"
DEPEND="
doc? ( app-doc/doxygen[latex] )
"
RDEPEND=""
PATCHES=( "${FILESDIR}/${PN}-automagicness.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_with static-libs STATIC_LIB)
$(cmake-utils_use test UNIT_TESTING)
$(cmake-utils_use_with doc APIDOC)
)
cmake-utils_src_configure
}
|