dev-util/bcunit: New package imported from nest

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2022-04-28 14:31:42 +02:00
parent 45402bbdae
commit b689f2b8c6
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 53 additions and 0 deletions

1
dev-util/bcunit/Manifest Normal file
View file

@ -0,0 +1 @@
DIST bcunit-3.0.2.tar.gz 377172 BLAKE2B a6f78fd87513781fe2ce6d492a9500c34a97004fe010c152ff94c9c96268a9005adbff146e1f0d4042ea2ae2502dd28dc85658247799600bdbd8c1d5fa0ae19f SHA512 dd7ff6f90565451b2f723472907c83154a149354c4689955611444469e33b66ea26152637a075f50f8e97d2c900b28745f8fa0c0d862dbfa005cbee2a68fd61c

View file

@ -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
}

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>spiderx@spiderx.dp.ua</email>
<name>Vladimir Pavljuchenkov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<remote-id type="github">BelledonneCommunications/bcunit</remote-id>
</upstream>
</pkgmetadata>