diff --git a/dev-util/bcunit/Manifest b/dev-util/bcunit/Manifest new file mode 100644 index 0000000..45f9de1 --- /dev/null +++ b/dev-util/bcunit/Manifest @@ -0,0 +1 @@ +DIST bcunit-3.0.2.tar.gz 377172 BLAKE2B a6f78fd87513781fe2ce6d492a9500c34a97004fe010c152ff94c9c96268a9005adbff146e1f0d4042ea2ae2502dd28dc85658247799600bdbd8c1d5fa0ae19f SHA512 dd7ff6f90565451b2f723472907c83154a149354c4689955611444469e33b66ea26152637a075f50f8e97d2c900b28745f8fa0c0d862dbfa005cbee2a68fd61c diff --git a/dev-util/bcunit/bcunit-3.0.2.ebuild b/dev-util/bcunit/bcunit-3.0.2.ebuild new file mode 100644 index 0000000..23dbe40 --- /dev/null +++ b/dev-util/bcunit/bcunit-3.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="BC Unit Test Framework" +HOMEPAGE="https://gitlab.linphone.org/BC/public/bcunit" +SRC_URI="https://gitlab.linphone.org/BC/public/${PN}/-/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples ncurses static-libs test" +RESTRICT="test" # fails: undefined reference to CU_trace_handler + +RDEPEND="ncurses? ( sys-libs/ncurses:0= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURSES="$(usex ncurses)" + -DENABLE_DOC="$(usex doc)" + -DENABLE_EXAMPLES="$(usex examples)" + -DENABLE_STATIC="$(usex static-libs)" + -DENABLE_TEST="$(usex test)" + ) + + cmake_src_configure +} diff --git a/dev-util/bcunit/metadata.xml b/dev-util/bcunit/metadata.xml new file mode 100644 index 0000000..3d06d9d --- /dev/null +++ b/dev-util/bcunit/metadata.xml @@ -0,0 +1,20 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + BCUnit is a fork of the defunct project CUnit, with several fixes and + patches applied. CUnit is a Unit testing framework for C, + provides various interfaces to the framework. + + + BelledonneCommunications/bcunit + +