annotate dev-util/bcunit/bcunit-3.0.1.ebuild @ 520:d864ea0ef332

updated ebuild for vscodium
author Dirk Olmes <dirk.olmes@codedo.de>
date Fri, 12 Jun 2020 02:32:47 +0200
parents 7e560a7c788b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
445
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2017 Gentoo Foundation
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 EAPI=6
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 inherit cmake-utils eutils flag-o-matic multilib-minimal toolchain-funcs
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 DESCRIPTION="C Unit Test Framework from Belledonne Comminications"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 STABLE_REV=fe7c9c5bd32b72542dd96d772b9b5f70adc53117
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 SRC_URI="https://github.com/BelledonneCommunications/bcunit/archive/${STABLE_REV}.tar.gz -> ${P}.tar.gz"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="https://github.com/BelledonneCommunications/bcunit"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="LGPL-2"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 IUSE="ncurses static-libs"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 RDEPEND="ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 DEPEND="${RDEPEND}"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 S=${WORKDIR}/${PN}-${STABLE_REV}
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 DOCS=( AUTHORS NEWS README ChangeLog )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 multilib_src_configure() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 local mycmakeargs=( "-DENABLE_CURSES=$(usex ncurses)" )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 cmake-utils_src_configure
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 multilib_src_install() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 cmake-utils_src_install
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 }