mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
dev-util/cmocka: Sync with Gentoo
It's from Gentoo commit 3695e0a4f79c1022a2d2421860b645afc0ead16f.
This commit is contained in:
parent
62141c3d78
commit
7bc105aee1
@ -1,24 +1,21 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
CMAKE_ECLASS=cmake
|
|
||||||
inherit cmake-multilib
|
inherit cmake-multilib
|
||||||
|
|
||||||
DESCRIPTION="Unit testing framework for C"
|
DESCRIPTION="Unit testing framework for C"
|
||||||
HOMEPAGE="https://cmocka.org/"
|
HOMEPAGE="https://cmocka.org/"
|
||||||
SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz"
|
SRC_URI="https://cmocka.org/files/$(ver_cut 1-2)/${P}.tar.xz"
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
IUSE="doc examples static-libs test"
|
IUSE="doc examples static-libs test"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="doc? ( app-doc/doxygen[dot] )"
|
||||||
doc? ( app-doc/doxygen[dot] )
|
|
||||||
"
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
|
Loading…
Reference in New Issue
Block a user