dev-util/cmocka: Sync with Gentoo

It's from Gentoo commit 3695e0a4f79c1022a2d2421860b645afc0ead16f.
This commit is contained in:
Krzesimir Nowak 2022-08-12 14:42:22 +02:00
parent 62141c3d78
commit 7bc105aee1

View File

@ -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
EAPI=7
EAPI=8
CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Unit testing framework for C"
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"
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"
RESTRICT="!test? ( test )"
BDEPEND="
doc? ( app-doc/doxygen[dot] )
"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
multilib_src_configure() {
local mycmakeargs=(