Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/min-cscope/
Date: Sun, 27 Feb 2022 00:54:31
Message-Id: 1645922191.6b8451cb635d6e5ba17e2b2d448b3b4e487394de.sam@gentoo
1 commit: 6b8451cb635d6e5ba17e2b2d448b3b4e487394de
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 27 00:36:31 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 00:36:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8451cb
7
8 dev-util/min-cscope: update EAPI 6 -> 8
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild | 35 +++++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild b/dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..5ec2af9a45c7
18 --- /dev/null
19 +++ b/dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +inherit cmake flag-o-matic
27 +
28 +DESCRIPTION="Interactively examine a C program"
29 +HOMEPAGE="https://sourceforge.net/projects/kscope/"
30 +SRC_URI="mirror://sourceforge/kscope/${P}.tar.gz"
31 +S="${WORKDIR}"/${PN}
32 +
33 +LICENSE="BSD"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE="debug"
37 +
38 +DOCS=( AUTHORS README{,.cscope} TODO )
39 +
40 +PATCHES=(
41 + "${FILESDIR}/${P}-tinfo.patch" # bug #678886
42 +)
43 +
44 +src_prepare() {
45 + cmake_src_prepare
46 +
47 + echo 'INSTALL(TARGETS min-cscope RUNTIME DESTINATION bin)' \
48 + >> src/CMakeLists.txt || die
49 +}
50 +
51 +src_configure() {
52 + append-flags -I"${S}"/sort
53 +
54 + cmake_src_configure
55 +}